Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF
DCBD—Provide symbolic reference to data control blocks (BDAM, BISAM, BPAM, BSAM, QISAM, and QSAM) z/OS DFSMS Macro Instructions for Data Sets SC23-6852-02 |
||||
The DCBD macro generates a dummy control section that provides symbolic names for the fields in one or more data control blocks. The DCBD macro maps the assembler version of the DCB. Symbols generated by the DCBD macro include some that are not part of the intended programming interface. The names and attributes of the general-use fields appear as part of the description of each data control block in Data control block symbolic field names. Attributes of the symbolically named fields in the dummy section are the same as the fields in the data control blocks, except for fields containing 3-byte addresses. The symbolically named fields containing 3-byte addresses have length attributes of 4 and are aligned on fullword boundaries. The symbols generated by the DCBD macro should not be defined in your user program. The symbols are structured as DCBxxxxx, where DCB is the first 3 characters and xxxxx is one or more alphanumeric characters. The name of the dummy control section generated by a DCBD macro is IHADCB. A USING instruction specifying IHADCB and a dummy section base register must precede the symbolic names in the dummy section. The dummy section base register contains the address of the actual data control block. You can issue the DCBD macro only once in any assembled module. However, you can use the resulting symbolic names for any number of data control blocks by changing the address in the dummy section base register. You can code the DCBD macro at any point in a control section. However, if it is coded at any point other than at the end of a control section, you must code a CSECT instruction to resume the control section. The format of the DCBD macro is:
|
Copyright IBM Corporation 1990, 2014
|