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




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)
.



Relevant Pages

  • Re: AIX COBOL ASSIGN error.
    ... I don't think you have told us if you are an experienced COBOL programmer who ... new to AIX - or if you are new to COBOL and AIX. ... Message routine called from offset 0x38 of routine ...
    (comp.lang.cobol)
  • Re: AIX COBOL ASSIGN error.
    ... I don't think you have told us if you are an experienced COBOL programmer who is ... new to AIX - or if you are new to COBOL and AIX. ... Message routine called from offset 0x38 of routine ...
    (comp.lang.cobol)
  • Re: AIX ASSIGN problems
    ... >We're trying to compile and run our first COBOL programs on AIX (we've ... It would help if you told us which COBOL brand and version you are ... >We verify the environmental variables are accurately set up by executing ...
    (comp.lang.cobol)
  • Re: Cobol set for AIX - secuential files - DDMEA
    ... > I have a problem with Cobol and secuential files when migrating from ... > MVS to AIX. ... > original .ddmea file with the name of sorted file and all work fine ...
    (comp.lang.cobol)
  • Re: AIX COBOL set 1.1 using UDB - help on compilation
    ... > to AIX cobol set 1.1 with UDB as the database in AIX. ... > The copybook has a host variable. ... precompiler says, it's undefined. ...
    (comp.lang.cobol)