Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF
Conversion phase z/OS JES2 Installation Exits SA32-0995-00 |
|||||||||||||||||||||||||||||||||||||||||||
The interpreter converts C/I text to SWA control blocks used by the initiator to run the job. The interpreter can be called as part of the conversion phase of a job or at the start of a job's execution. When the interpreter is run is based on the INTERPRET keyword on JOBDEF. If INTERPRET=JES, the interpreter is called during the conversion phase. When the interpreter is called during the conversion phase, processing for both the converter and the interpreter is normally run under a subtask in the JES2CI address space. The actual address space name is jesxCInn, where jesx is the subsystem name and nn is a number 1-25. Exits in this environment are called at the same point in processing as they are when running in the JES2 address space. However, because the code is running in a separate address space, the exits cannot access JES2 private storage data areas such as the HCT and the PCE. Other control block structures are the same regardless of the environment; there is a converter DTE in both environments. The local work are the $CIWORK and $CIWORKB (31 and 24 bit data areas); both are in private storage in the address space. Communications between the PCE and the subtask is done by the $CIPARM data area, which is located in the “PSO” data space with an address and ALET in the $DTE work area. When considering exit usage, you must consider the environment that the exit will run in. Exit 7 (CBIO for the $JCT) executes in the maintask environment, Exit 8 (CBIO for the IOT) runs in the user environment, and Exit 6 and the SMF IEFUJV exit execute in the subtask environment when the converter is being called in the JES2 address space. If the converter is being called from the JES2CI environment, then Exit 7 and 8 are running in the same environment, Exit 60 is called in the user environment instead of Exit 6, and the SMF IEFUJV exit is running in the user environment. All user environment exits called from the JES2CI address space cannot access JES2 private storage. If maintask functions are required for a subtask exit, two exits might be required to provide a specific function: for example, Exit 6 or 60 in conjunction with Exit 44. Another important consideration is that there can be, and typically are, more than one converter processor (and subtask); therefore, any exits taken in the subtask or user environment (Exits 6, 59, 60, and SMF exit IEFUJV) must be MVS reentrant. The following scenario describes the processing that occurs during the conversion processing.
The conversion phase offers the only chance to have exit control over all of a job's JCL. Although SMF exit, IEFUJV is taken for each JCL and JCL continuation statement, JES2 Exit 6 and Exit 60 offers some advantages. First, the format of the C/I text is more structured. It is in parsed form and all major syntax errors have been removed. This has all been done by the converter before the exit gets control. Another advantage of Exit 6 and Exit 60 over IEFUJV is that when JCL statements have been converted into C/I text, there are no continuation statements. That is, the entire JCL statement, along with all continuation statements, are represented by a single C/I text statement. A SAF security environment exists within the subtask and can be used with the RACF® FACILITY class to control the specification of options within JCL. Exit 6 and Exit 60, messages can be returned to the Converter to be issued by the Converter. |
Copyright IBM Corporation 1990, 2014
|