View previous topic :: View next topic |
Author |
Message |
meetrb Beginner
Joined: 24 Nov 2003 Posts: 40 Topics: 15
|
Posted: Mon Nov 24, 2003 10:50 pm Post subject: To run REXX in batch |
|
|
Hi,
I am trying to run a rexx exec in batch. I have found sites advocating the use of IKJEFT1A for this purpose but I have not been able to find any documentation for the same. Can anyone provide information about this program.
Ranjith |
|
Back to top |
|
|
prakal Beginner
Joined: 14 Mar 2003 Posts: 22 Topics: 1
|
Posted: Mon Nov 24, 2003 11:19 pm Post subject: |
|
|
Ranjith,
Here is some information on IKJEFT1A:
IKJEFT1A:
Is used to execute TSO commands in the background mode and is often reffered to as Terminal Monitor Program.
If a command or program being processed by IKJEFT1A ends with a system abend, IKJEFT1A causes the job step to terminate with a X'04C' system completion code. IKJEFT1A also returns to the caller the completion code from the command or program in register 15.
If a command or program being processed by IKJEFT1A ends with a user abend, IKJEFT1A saves the completion code in register 15 and then terminates.
If a command, program or REXX exec being processed by IKJEFT1A returns a non-zero return code to IKJEFT1A, IKJEFT1A saves this return code in register 15 and then terminates. Non-zero return codes to IKJEFT1A from CLISTs will not affect the contents of register 15 and the TMP will continue processing.
For a non-zero return code or an abend from a command or program that was not given control directly by IKJEFT1A, no return code is saved in register 15, and IKJEFT1A does not terminate.
This information was taken from the manual in the following link:
http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/IKJ3C220/CCONTENTS?DT=20000626172615
prakal |
|
Back to top |
|
|
kolusu Site Admin
Joined: 26 Nov 2002 Posts: 12376 Topics: 75 Location: San Jose
|
|
Back to top |
|
|
meetrb Beginner
Joined: 24 Nov 2003 Posts: 40 Topics: 15
|
Posted: Thu Nov 27, 2003 6:33 am Post subject: |
|
|
Thanks a lot Kolusu,
The information was very useful.
Ranjith. |
|
Back to top |
|
|
|
|