z/OS Language Environment Programming Reference
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


CBLQDA (COBOL only)

z/OS Language Environment Programming Reference
SA38-0683-00

Derivation: COBOL QSAM Dynamic Allocation

CBLQDA controls COBOL QSAM dynamic allocation on an OPEN statement.

The default value for non-CICS applications is CBLQDA(OFF).

CBLQDA is ignored under CICS®.

Read syntax diagramSkip visual syntax diagram
Syntax

              .-OFF-.      
>>-CBLQda--(--+-----+--)---------------------------------------><
              '-ON--'      

OFF
Specifies that COBOL QSAM dynamic allocation is not permitted.
ON
Specifies that COBOL QSAM dynamic allocation is permitted. ON conforms to the 1985 COBOL standard.

Usage notes

  • CBLQDA(OFF) is the recommended default because it prevents a temporary data set from being created in case there is a misspelling in your JCL. If you specify CBLQDA(ON) and have a misspelling in your JCL, Language Environment creates a temporary file, writes to it, and then z/OS® deletes it. You receive a return code of 0, but no output.
  • CBLQDA does not affect dynamic allocation for the message file specified in MSGFILE or the Language Environment formatted dump file (CEEDUMP) .

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014