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


Example 2: ACB macro

z/OS DFSMStvs Administration Guide
GC52-1388-00

In this example, the ACB macro is used to identify a data set to be opened and to specify the types of processing to be performed. The access method control block generated by this example is built when the program is assembled. The caller requests that the VSAM control blocks and I/O buffers be obtained above 16 megabytes, if possible.
BLOCK2   ACB   AM=VSAM,                   BLOCK2 gives symbolic         x
               DDNAME=DATASETS,           address of the access         x
               EXLST=EXITS,               method control block.         x
               MACRF=(KEY,DIR,SEQ,OUT),                                 x
               RMODE31=ALL
The ACB macro's parameters follow:
  • DDNAME specifies that this access method control block is associated with a DD statement named DATASETS.
  • EXLST specifies that the exit list associated with this access method control block is named EXITS.
  • MACRF specifies keyed-direct and keyed-sequential processing for both insertion and update.
  • RMODE31=ALL specifies that both VSAM control blocks and buffers can reside above 16 megabytes.
  • Because the type of resources is not specified, NSR is assumed.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014