z/OS DFSMS Using Data Sets
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Data Management Macros

z/OS DFSMS Using Data Sets
SC23-6855-00

You can use macros to process all the data set types supported by the access methods just described. Macros control data set allocation, input and output, the buffering techniques used, and data security. See z/OS DFSMS Macro Instructions for Data Sets for information about data management macros. See z/OS DFSMSdfp Advanced Services for information about system programming macros.

Table 1 contains a summary of data management access methods:

Table 1. Data management access methods
Data Set Organization Basic Queued VSAM
Direct BDAM    
ESDS     VSAM
KSDS     VSAM
LDS     VSAM, DIV1
Partitioned2 BPAM, BSAM3 QSAM  
RRDS4     VSAM
Sequential5 BSAM QSAM  
z/OS UNIX file6 BSAM7 QSAM7 VSAM8
Note:
  1. The data-in-virtual (DIV) macro, which is used to access a linear data set, is described in z/OS MVS Programming: Assembler Services Guide.
  2. PDSs and PDSEs are both partitioned organization data sets.
  3. BSAM and QSAM cannot be used to create or modify user data in directory entries.
  4. Refers to fixed-length and variable-length RRDSs.
  5. Sequential data sets and extended-format data sets are both sequential organization data sets.
  6. A UNIX file can be in any type of z/OS UNIX file system such as HFS, NFS, TFS, or zFS.
  7. When you access a UNIX file with BSAM or QSAM, the file is simulated as a single-volume sequential data set.
  8. When you access a UNIX file with VSAM, the file is simulated as an ESDS.

Data sets can also be organized as PDSE program libraries. PDSE program libraries can be accessed with BSAM, QSAM, or the program management binder. The first member written in a PDSE library determines the library type, either program or data.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014