Using the $JCTX macro extension service
The $JCTX
macro extension service allows installations to create extensions
to the job control table ($JCT) control block. These extensions can
be SPOOLed for long term storing and transmitting job-related information
or local extensions that are for passing information between exits
during the current phase of the job. The $JCTX macro extension service
is composed of the following macros:
- Macro
- Use
- $JCTXADD
- Creates an extension to the $JCT based on an installation-specified length and unique identifier. At the time of the add, the requester can specify if the added section is to be SPOOLed or is a local section.
- $JCTXEXP
- Expands an extension to the $JCT based on an installation-specified length and unique identifier.
- $JCTXGET
- Locates an extension to the $JCT based on an installation-specified unique identifier. By examining the reason code from $JCTXGET, the requester can determine if the section is a SPOOLed section or a local section.
- $JCTXREM
- Removes an extension to the $JCT based on an installation-specified unique identifier.