Re: MF Server rts32 does not run in AIX 5.3L batch queue
- From: "C C" <someone@xxxxxxxxxxxxxxx>
- Date: Thu, 29 Sep 2005 03:02:38 GMT
Thanks. But why would rts32 wait for input from tty
when the cobol program doesn't even have any accept
statement from tty?
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.
"Michael Wojcik" <mwojcik@xxxxxxxxxxx> wrote in message
news:dhbnq3029pj@xxxxxxxxxxxxxxxxxxxx
>
> 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:
- Re: MF Server rts32 does not run in AIX 5.3L batch queue
- From: Michael Wojcik
- Re: MF Server rts32 does not run in AIX 5.3L batch queue
- References:
- MF Server rts32 does not run in AIX 5.3L batch queue
- From: C C
- Re: MF Server rts32 does not run in AIX 5.3L batch queue
- From: Michael Wojcik
- MF Server rts32 does not run in AIX 5.3L batch queue
- Prev by Date: Re: mainframe career advice
- Next by Date: Re: Microfocus MFExpress Cobol listing
- 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
|