You can use the DEFINE statement to facilitate the entry of frequently occurring groups of specifications.
Syntax
┌◄───────────────────── , ─────────────────────┐ ── DEFINE ─┴─<define identifier>── = ──<define text>── # ─┴────────────┤
<define identifier>
Must be different from any of the following:
-
Node or data item identifiers named in the definition of the structure of the USERDATAFILE
-
MAKEUSER reserved keywords
For a list of the MAKEUSER reserved keywords, see MAKEUSER Statements. For information on node and data item identifiers used in defining the structure of the USERDATAFILE, see the Security SDK.
<define text>
Can contain any syntactic items except the number sign (#); the number sign is reserved for signaling the end of the definition.
Explanation
A define is invoked by entering its identifier at any point where an operator, keyword, node or data item identifier, or constant value is expected. A define is invalid where a name or file name is expected, unless the name is a password (usercode password or accesscode password). Defines can be declared or redeclared at any time. Syntax checking takes place when the define is invoked.
A new define with the same identifier as a previously declared define replaces the previous one. You cannot undo attribute values set with a define by prefacing the define identifier with a minus sign (–).