COBOL Manual for TNS/E Programs (H06.03+)
Program Execution
HP COBOL Manual for TNS/E Programs—520347-003
12-19
DEFINE Names
DEFINE Names
Every DEFINE has a name. A name you give to a DEFINE must:
•
Consist of at least 2 and no more than 24 characters
•
Begin with an equals sign (=) followed by a letter
•
Continue with any combination of letters, digits, hyphens (-), underscores (_), and
carets (^).
HP has reserved the set of DEFINE names beginning with equals sign followed by
underscore (_) for future use.
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
* Required only if you specify the optional USE attribute with IN.










