The ADD-DOMAIN statement is used to define a domain in the syntax file being processed. The name given for the domain must be unambiguously distinguishable from all other domain names.
ADD-DOMAIN |
NAME = <structured-name 1..30> ,INTERNAL-NAME = *STD / <alphanum-name 1..8> ,HELP = *NO / list-poss(2000): <name 1..1>(...) <name 1..1>(...)
,PRIVILEGE = *ALL / *EXCEPT(...) / list-poss(64): <structured-name 1..30> *EXCEPT(...)
|
NAME = <structured-name 1..30>
Name of the domain which is to be used in the guided dialog.
INTERNAL-NAME = *STD / <alphanum-name 1..8>
Internal name of the domain. This cannot be changed. With the help of the internal name, SDF identifies a domain defined in several syntax files under different external names as being the same domain. Unless otherwise specified, SDF-A takes as the internal name the first eight characters (omitting hyphens) of the external name entered for the NAME operand.
HELP = *NO / list-poss(2000): <name 1..1>(...)
Specifies whether there are help texts for the domain, and if so, what those texts are.
HELP = *NO
There are no help texts.
HELP = list-poss(2000): <name 1..1>(...)
There are help texts in the specified languages (E = English, D = German). SDF uses the language specified for message output.
TEXT = <c-string 1..500 with-low>
Help text.
The help text can contain the special character string “\n” for the line break.
PRIVILEGE =
Specifies the privileges assigned to the domain.
PRIVILEGE = *ALL
All privileges currently defined and all subsequently defined privileges are assigned to the domain.
PRIVILEGE = *EXCEPT(...)
With the exception of those defined with *EXCEPT(...), all privileges currently defined and all subsequently defined privileges are assigned to the domain.
EXCEPT-PRIVILEGE = list-poss(64): <structured-name 1..30>
Specifies the privileges that are not assigned to the domain.
PRIVILEGE = list-poss(64): <structured-name 1..30>
Only the privileges specified in this list are assigned to the domain.