Writing your exit
Z Data Tools does not supply a default scrambling exit. If you plan to use a scrambling exit you must provide one or more for your installation.
Any exit you provide must be in the form of a load module, in any load library available to Z Data Tools, either by a STEPLIB DD statement, or in LINKLIST, or LPALIST. If Z Data Tools attempts to load an exit and is unable to find it, an error message is displayed.
You can write your own exit in any high level language, for example, COBOL, PL/I, or High Level
Assembler. Sample exits for COBOL, PL/I, and HLASM are provided in HFM.SHFMSAM1. They are:
- HFMSCXEA
- Sample HLASM exit
- HFMSCXEC
- Sample COBOL exit
- HFMSCXEP
- Sample PL/I exit
Copybooks providing the scrambling exit control blocks for COBOL, PL/I, and HLASM are distributed
in the Z Data Tools macro library, HFM.SHFMMAC1. They are:
- HFMSCXCA
- Control block for HLASM programs
- HFMSCXCC
- Control block for COBOL programs
- HFMSCXCP
- Control block for PL/I programs
Note:
- The Z Data Tools I/O exit does not support 24-bit addressing mode.
- Z Data Tools supports an exit written in any supported release of COBOL and PL/I.
- Z Data Tools provides information concerning the input and output field formats as described by the exit control block. See Exit control block