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


Example: GENCB macro (generate a request parameter list)

z/OS DFSMStvs Administration Guide
GC52-1388-00

In this example, a GENCB macro is used to generate a request parameter list.
ACCESS  GENCB  BLK=RPL,                                                 x
               ACB=ACCESS,                                              x
               AM=VSAM,                                                 x
               AREA=WORK,                                               x
               AREALEN=125,                                             x
               ARG=SEARCH,                                              x
               LOC=ANY,                                                 x
               MSGAREA=MESSAGE,                                         x
               MSGLEN=128,                                              x
               OPTCD=(SKP,UPD)
 
ACCESS  ACB    MACRF=(SKP,OUT)
WORK    DS     CL125
SEARCH  DS     CL8
MESSAGE DS     CL128
The GENCB macro’s parameters are:
  • BLK specifies a request parameter list is generated.
  • ACB specifies that the request parameter list is associated with a data set and processing options identified by ACCESS.
  • AREA and AREALEN specify a 125-byte work area used for processing records.
  • ARG specifies the address of the search argument.
  • LOC specifies that VSAM obtain storage for the request parameter list in an area above 16 megabytes.
  • MSGAREA and MSGLEN specify a 128-byte area used for physical-error messages.
  • OPTCD specifies the subparameters that govern the request defined by the request parameter list identified by SKP and UPD.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014