z/OS DFSMStvs Administration Guide
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Example: Remote-list form (reentrant)

z/OS DFSMStvs Administration Guide
GC52-1388-00

In this example, the remote-list form of MODCB is used to build a parameter list that will later be used to modify the MACRF bits in the access method control block ANYACB.
       LA      8,LEN2         Get length of the parameter list.
 
       GETMAIN R,LV=(8)       Get storage for the area in which the    x
                              parameter list is to be built.
       LR      3,1            Save address of the parameter-list area.
 
       MODCB   ACB=ANYACB,                                             x
               MACRMF=(L,(3),LEN2)
The macro expansion equates the length of the parameter list to LEN2, as follows:
+LEN2 EQU 24

This parameter list is built in the remote area pointed to by register 3. The list is used by VSAM to modify the ACB when an execute form of MODCB is issued (see next example). The list form only creates a parameter list; it does not modify the ACB.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014