Re: MF Server rts32 does not run in AIX 5.3L batch queue
- From: mwojcik@xxxxxxxxxxx (Michael Wojcik)
- Date: 27 Sep 2005 15:17:23 GMT
In article <SbUZe.104$Vk.71@xxxxxxxxxxxxxxxxxxxxxxxxxx>, "C C" <someone@xxxxxxxxxxxxxxx> writes:
> Help. We are trying to migrate our
> Object Cobol under AIX 4.3 to
> Server Express under AIX 5.3L in
> a Test box. We have plenty of
> Cobol jobs which are submitted
> to a job queue (qprt -Pbqueue ......).
> Everything is working in 4.3 but
> not in AIX 5.3L. The job just sits
> in the queue and the PID is on rts32 of
> the COBOL program. If we run the
> same job under a shell script from
> within a Cobol online program,
> the job runs.
This is just a guess, but it wouldn't surprise me if the rts32 process
is in stopped state due to a SIGTTIN - attempt by a background process
to read from the tty.
Try starting the job with the standard I/O file descriptors closed or
redirected, eg by wrapping the program in a ksh script like:
#! /bin/ksh
exec cobrun my-program <&- >&- 2>&-
That will close descriptors 0, 1, and 2, which will prevent the COBOL
RTS from trying to read from (or write to) the former controlling tty.
--
Michael Wojcik michael.wojcik@xxxxxxxxxxxxxx
When most of what you do is a bit of a fraud, the word "profession"
starts to look like the Berlin Wall. -- Tawada Yoko (t. M. Mitsutani)
.
- Follow-Ups:
- References:
- Prev by Date: Re: Microfocus MFExpress Cobol listing
- Next by Date: Re: mainframe career advice
- Previous by thread: Re: MF Server rts32 does not run in AIX 5.3L batch queue
- Next by thread: Re: MF Server rts32 does not run in AIX 5.3L batch queue
- Index(es):
Relevant Pages
|