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




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