pTAL Reference Manual (H06.03+)

Disk File Names and HP TACL Commands
HP pTAL Reference Manual523746-005
B-5
DEFINE
For complete information about these commands, see the following manuals:
TACL Reference Manual (syntactic information)
TACL Programmer’s Guide (programmatic information)
Guardian User’s Guide (interactive information)
Guardian Programmer’s Guide (programmatic information)
DEFINE
Substituting File Names for DEFINE Macros on page B-5
DEFINE Names on page B-5
To create a DEFINE message or set its attributes, you must set a CLASS attribute for
the DEFINE. The CLASS attributes are:
MAP DEFINE (Guardian Platforms Only) on page B-6
TAPE DEFINE (D-Series Systems Only) on page B-6
SPOOL DEFINE on page B-6
DEFAULTS DEFINE on page B-7
Each attribute has an initial setting based on whether the attribute is required, optional,
or default.
Substituting File Names for DEFINE Macros
To substitute a file name for a DEFINE name that is being passed by a nonprivileged
program to a system procedure, use the following HP TACL commands:
DEFINE Names
HP TACL DEFINE names:
Are not case-sensitive
Have 2 to 24 characters
Begin with an equals sign (=) followed by an alphabetic character
Continue with any combination of letters, digits, hyphens (-), underscores (_), and
circumflexes (^)
HP TACL Command Purpose
SET DEFMODE ON Enable DEFINE processing
SET DEFINE CLASS Set the initial attribute of a DEFINE command to CLASS MAP*
SET DEFINE Set the working attributes
ADD DEFINE Specify a file name to substitute for a DEFINE name
* MAP DEFINEs are available only on Guardian platforms.