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


Restrictions in Creating a Direct Data Set Using QSAM

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

It is possible to create a direct data set using QSAM (no keys allowed) or BSAM (with or without keys and the DCB specifies MACRF=W). However, it is not recommended that you access a direct data set using QSAM because you cannot request a function that requires the information in the capacity record (R0) data field. For example, the following restrictions would apply:
  • Variable-length or undefined-length spanned record processing is not permitted.
  • The WRITE add function with extended search for fixed-length records (with or without track overflow) is not permitted.

If a direct data set is created and updated or read within the same job step, and the OPTCD parameter is used in the creation, updating, or reading of the data set, different DCBs and DD statements should be used.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014