RDJFCB Macro Specification
The RDJFCB macro instruction moves a job file control block (JFCB) into an area of your choice as identified by the EXLST parameter of the DCB macro for each data control block specified.
The format of the RDJFCB macro is:
Tip: If you wish to have multiple DCBs
with or without options, code each DCB (and options) as shown in the
diagram and precede each additional DCB with a comma. Examples of
the standard form of the RDJFCB macro are:
RDJFCB (DCB1)
RDJFCB (DCB1,INPUT)
RDJFCB (DCB1,(INPUT))
RDJFCB (DCB1,(INPUT,REREAD))
RDJFCB (DCB1,,DCB2)
RDJFCB (DCB1,,DCB2,(INPUT,REREAD),DCB3,INPUT)
- dcb_address, or (options)
- (Same as the dcb_address, option1, and
option2 operands of the OPEN macro instruction, as shown in z/OS DFSMS Macro Instructions for Data Sets), except for
the MODE operand, which is not valid with the RDJFCB macro.
The option operands do not affect RDJFCB processing. You can, however, specify them in the list form of the RDJFCB macro instruction and refer to the generated parameter list with the execute form of the macro.
- You can also use the MF parameter on an RDJFCB macro. Its syntax, use, and effect are the same as is documented for the OPEN macro in z/OS DFSMS Macro Instructions for Data Sets. In addition, you can code an execute-form RDJFCB macro that refers to a list-form OPEN macro that does not have MODE=31.
- The RDJFCB parameter list, the DCB, and the JFCB area specified in the exit list as well as the exit list itself must reside below 16 MB, although the calling program can be above 16M.
