Re: MF Server rts32 does not run in AIX 5.3L batch queue



Thanks. I think that's what's happening. Is there a variable
or Declaration we can include in our script so that when
submitting a job to the job queue, any rts32 process within
there will be forced NOT to query the tty on batch jobs?

BTW, we submitted the same job to the background and
it is a stopped state. I had to kill it.

"Michael Wojcik" <mwojcik@xxxxxxxxxxx> wrote in message
news:dhguel0ftt@xxxxxxxxxxxxxxxxxxxx
>
> In article <iPI_e.843$DY.563@xxxxxxxxxxxxxxxxxxxxxxxxxx>, "C C"
> <someone@xxxxxxxxxxxxxxx> writes:
>> Thanks. But why would rts32 wait for input from tty
>> when the cobol program doesn't even have any accept
>> statement from tty?
>
> In some versions of MF COBOL for Unix, rts32 queries the tty for
> certain control functions at program startup, regardless of whether
> the program does any tty I/O. If the program has a tty attached to
> descriptor 0 and is not part of the foreground process group for
> that tty, it gets a SIGTSTP.
>
>> The same program submitted to the queue (for scripts)
>> runs to end-of-job when run with rts32 of microfocus
>> object cobol in AIX 4.3.
>
> It's only a problem with some COBOL versions. I know of it because
> it caused an issue with running the MF Client/Server Binding
> feature's server program in the background. The problem popped up
> with one build, was fixed, regressed, was fixed again... It's hard
> to predict whether a given COBOL build will have it.
>
> It's easy to test for, though. Try running your program in the
> background and see if it ends up in Stopped state.
>
> --
> Michael Wojcik michael.wojcik@xxxxxxxxxxxxxx
>
> I gave my love some irises.
> (She was sick with viruses.) -- Charlie Gibbs


.



Relevant Pages

  • Re: Problems with SCO binaries writing to /dev/tty on Redat 8
    ... >>Many years ago we had a problem with a particular version of RM Cobol ... but I got around it by changing the script that ... > a device, such as the tty. ... hold the symlink tty on the fly in your app start script anyways, ...
    (comp.unix.sco.misc)
  • Re: OSR5: how to find out disabled terminals by authorization subsystem?
    ... >> any command to see which tty*'s have fallen under the security lock. ... how can I find out from a pure command line which terminals are locked? ... or put it in a daily cron script to notify me by email or some such. ... # We find out the maximum errors allowed in the system when logging in at a TTY. ...
    (comp.unix.sco.misc)
  • Re: Displaying print messages- Emacs
    ... Avoids the need to change the script. ... let's assume that you're at the shell prompt from inside Emacs ... detecting that its output did not appear to be a interactive (a TTY). ... platform C library) to adjust buffering based on that status, ...
    (comp.lang.python)
  • Re: Invocation environment detection
    ... > same script from he commnd line and from cgi, ... The file test operator -t tells you if the filehandle is a tty or not. ... called from cmdline, the sub returns false. ... if you use a POSIX compliant system ...
    (perl.beginners)
  • Re: MF Server rts32 does not run in AIX 5.3L batch queue
    ... But why would rts32 wait for input from tty ... > when the cobol program doesn't even have any accept ... > The same program submitted to the queue ...
    (comp.lang.cobol)