Author: Pedro
Subject: Reply to: ZTEMPF RC
Posted: Thu Jun 09, 2016 5:32 am (GMT 5.5)
I think the poster wants to check the results of the job before continuing to the next steps in the rexx program.
The simple answer is to use the SDSF REXX API to get the job output. Though, most people here frown on that because the job execution might be delayed and your TSO session is hung up.
If there are multiple steps needed, submit a job with multiple steps.
Conversely, if the job is so small, then use the TSO CALL command to execute the program from your TSO session. Do this as part of your rexx program.
_________________
Pedro Vera
Subject: Reply to: ZTEMPF RC
Posted: Thu Jun 09, 2016 5:32 am (GMT 5.5)
I think the poster wants to check the results of the job before continuing to the next steps in the rexx program.
The simple answer is to use the SDSF REXX API to get the job output. Though, most people here frown on that because the job execution might be delayed and your TSO session is hung up.
If there are multiple steps needed, submit a job with multiple steps.
Conversely, if the job is so small, then use the TSO CALL command to execute the program from your TSO session. Do this as part of your rexx program.
_________________
Pedro Vera