Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF
Specifying and Initializing Data Control Blocks z/OS DFSMS Using Data Sets SC23-6855-00 |
|
This topic covers the following subtopics.
For each data set that you want to process, there must be a corresponding data control block (DCB) and data definition (DD) statement or its dynamic allocation equivalent. The characteristics of the data set and device-dependent information can be supplied by either source. As specified in z/OS MVS JCL User's Guide and z/OS MVS JCL Reference, the DD statement must also supply data set identification. Your program, SMS, and exit routines can supply device characteristics, space allocation requests, and related information. You establish the logical connection between a DCB and a DD statement by specifying the name of the DD statement in the DDNAME field of the DCB macro, or by completing the field yourself before opening the data set. You can process a non-VSAM data set to read, update, or add data by following this procedure:
Primary sources of information to be placed in the data control block are a DCB macro, data definition (DD) statement, a dynamic allocation SVC 99 parameter list, a data class, and a data set label. A data class can be used to specify all of your data set's attributes except data set name and disposition. Also, you can provide or change some of the information during execution by storing the applicable data in the appropriate field of the DCB or DCBE. |
Copyright IBM Corporation 1990, 2014
|