z/OS DFSMS Macro Instructions for Data Sets
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Example: CLOSE macro

z/OS DFSMS Macro Instructions for Data Sets
SC23-6852-02

This example shows how to close an ACB with a parameter list that may reside above 16 megabytes.
BLOCK1  ACB    .
               .
               RMODE31=ALL     VSAM control blocks and I/O buffers      x
               .               may be above 16 megabytes.
               .
        OPEN   BLOCK1,         OPEN/CLOSE parameter list may reside     x
               MODE=31         above 16 megabytes.
 
        CLOSE  BLOCK1,                                                  x
               MODE=31,                                                 x
               TYPE=T
The CLOSE parameters are:
  • MODE=31 is required if the OPEN/CLOSE parameter list resides above 16 megabytes or if the ACB resides above 16 megabytes.
  • TYPE indicates a temporary CLOSE. This causes VSAM to complete outstanding I/O operations, put back into the catalog the updated information that was brought into virtual storage when the data set was opened, and write records in the SMF data set if you are using SMF.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014