z/OS DFSMSdfp Advanced Services
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


RDJFCB Macro Specification

z/OS DFSMSdfp Advanced Services
SC23-6861-01

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:

Read syntax diagramSkip visual syntax diagram
>>-+-------+--RDJFCB-------------------------------------------->
   '-label-'           

>--+-(dcb_addr)-----------------------------+------------------><
   |   .-,------------------------------.   |   
   |   V                                |   |   
   '-(---dcb_addr-+-,-----------------+-+-)-'   
                  +-,-| option1 |-----+         
                  +-,(-| option1 |-)--+         
                  +-,(-| option2 |-)--+         
                  '-,(,-| option2 |-)-'         

option1

   .-INPUT--.   
|--+-EXTEND-+---------------------------------------------------|
   +-OUTPUT-+   
   +-INOUT--+   
   +-OUTIN--+   
   +-OUTINX-+   
   +-RDBACK-+   
   '-UPDAT--'   

option2

   .-,DISP---.   
|--+-,LEAVE--+--------------------------------------------------|
   +-,REREAD-+   
   '-,REWIND-'   

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:
Figure 1. Examples of Standard Form of the RDJFCB macro
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.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014