XYGATE Access Control Reference Manual

XYGATE
®
Access Control Reference Manual
Appendix C: The ACACL File
XYPRO Technology Corporation 202 Proprietary and Confidential
C69: PROMPT
This keyword defines a configurable prompt for the running OBJECT program. Up to
10 tokens may be specified inside the double-quotation marks. This string of tokens
will be prepended to the normal prompt generated by the object file. Any token can be
a string enclosed by single-quotation marks that can be no longer than 19 characters,
or a pre-defined token from the list below. The maximum resulting set of Constant
Strings must have the sum of the characters in each Constant String plus the number
of Constant String tokens be less than or equal to 20. The maximum total number of
tokens following the PROMPT keyword must be less than or equal to 10.
The available tokens are the following:
COMMAND The XYGATEAC ACACL Command Entry
CR Insert carriage return character (which usually results in a line feed
being appended by the I/O process).
FC# The current command history number
LF Insert a linefeed character
OBJECT The filename portion of the object you are running
PAID Process Accessor ID
'<string>' Constant String
SYSTEM Node name of the XYGATEAC process
TIME The current time as HH:MM:SS
FCPROMPT should be specified to ensure the proper operation of PROMPT.
PROMPT overrides the FC# or FC? number prompt. However, the FC# token can be
included in the PROMPT specification to include the command history number within
the prompt.
Syntax:
PROMPT "<token>[,<token>,...]"
Example:
COMMAND PROMPT-TEST
DESCRIPTION "SHOW RANGE OF PROMPT"
ACL *.*
OBJECT $SYSTEM.SYSTEM.SCF
USER GROUP,USER
FCPROMPT "#"
PROMPT "COMMAND, CR, 'User=', PAID, 'System=', SYSTEM, CR, 'FC#=', FC#, CR"
This above example would use the maximum combined number of constant-string
tokens and characters and would have the COMMAND, PAID, SYSTEM, TIME,
OBJECT, FC# run together with a carriage return following. The resulting prompt
would look something like this: