COBOL Manual for TNS and TNS/R Programs

Program Execution
HP COBOL Manual for TNS and TNS/R Programs522555-006
12-21
DEFINE Attributes
Uppercase and lowercase letters are equivalent in DEFINE names.
Wherever a DEFINE name can appear in the text of a COBOL source program, it must
appear in quotation marks. Wherever a DEFINE name appears in commands to the
command interpreter, such as on the command line that initiates a COBOL
compilation, the DEFINE name must appear without quotation marks.
DEFINE Attributes
The CLASS attribute determines which other attributes a DEFINE can have.
Example 12-6. DEFINE Names
=A
=The_chosen_file
=Long--but-not-too-long
=The-File-of-The-Week
=X_-^-_-_-^-_-_-^
Table 12-2. DEFINE Attributes (page 1 of 2)
CLASS Attribute Value
Other Attributes of DEFINE
Required Optional
CATALOG SUBVOL
DEFAULTS VOLUME SWAP
MAP (default) FILE
SEARCH SUBVOL n
SORT BLOCK
CPU
CPUS
MODE
NOTCPUS
PRI
PROGRAM
SCRATCH
SEGMENT
SUBSORTS
SWAP
* Required only if you specify the optional USE attribute with IN.