Does anyone understand or have any comments on the following analysis? This all 
revolves around the TIOCSTPN and TIOCJSTN fields in the TIOT. There seem to be 
three cases, depending on how the job was invoked. For each, assume the job is 
named JOBNAME and the step is STEPNAME. "blanks" means, like, all blanks.

Run as a job:
TIOCSTPN = STEPNAME, TIOCJSTN = blanks
Run as a PROC without STCJOBS:
TIOCSTPN = JOBNAME, TIOCJSTN = blanks
Run as a PROC with STCJOBS:
TIOCSTPN = STEPNAME, TIOCJSTN = JOBNAME

So this is all well and good, but the three fields are documented in IEFTIOT1 
as:
TIOCSTPN = 8-byte step name for non-PROCs
TIOCPSTN = 8-byte PROC step name for procs
TIOCJSTN = 8-byte jobstep name for PROCs

So I have two questions:

1)      Is the documentation just wrong, or am I missing something?

2)      Are there other possible cases?

...phsiii

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to