Tom Wasik
unread,Feb 15, 2016, 11:56:34 AM2/15/16You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to
In z/OS 2.1 JES2 implemented back to back converter/interpreter as an option. This calls the interpreter to process "right side of the equal sign" during the conversion phase of processing instead of waiting until the job is selected for execution. This has a number of benefits:
- JCL errors are detected earlier
- OUTPUT statements for the JESDS data sets (or DEFAULT and MERGE OUTPUT statements) can be processed even when there is a JCL error
- It actually performs a bit better
But to make this happen, the converter and interpreter code needed to capable of running outside the JES2 address space. When outside the JES2 address space, there is no access to the PCE (or the HCT and other JES2 private data areas). This required re-organizing a number of data areas so that there could be common structures in both environments.
The result is that there is still a PCE and DTE, but many of the data areas are now in $CIWORK (a private storage area used by the subtask). There is also a parameter list that is passed between the main task and the subtask called $CIPARM. This is how the main task communicates with the stubtask now.
The field you are looking for, JPCEIOT, has been moved to the $CIWORK field CIWIOT. It is also the case that the IOTs are no longer read in by the main task, but by the subtask (in either the JES2 address space or the CI address space). But that does not matter to exit 6. Exit 6 is passed an XPL data area if you want to change to use that. In that the field X006CIW points to the $CIWORK area. If you want to make minimal changes, then you can get the $CIWORK address from DCNVCIW. So a simple code change could be:
L R1,X6DTEADR ADDRESS OF DTE
USING DTE,R1
L R1,DCNVCIW ADDRESS OF CIWORK
USING CIWORK,R1
LTR R1,R1 IS THE CIWORK THERE ?
BZR R3 skip
L R2,CIWIOT GET ADDRESS OF 1ST IOT
That should get you to the IOT.
Hope this helps. And consider doing back to back conversion interpretation. Then the users can set whatever forms they want even if the job has a JCL error.
Tom Wasik
JES2 Development