XYGATE Access Control Reference Manual

XYGATE
®
Access Control Reference Manual
Appendix C: The ACACL File
XYPRO Technology Corporation 199 Proprietary and Confidential
C66: PERCENT
This keyword gives XAC the ability to use tokens from the invocation command line.
The default is ON for ACL Command Entries with a FILE specification and OFF for an
OBEY or interactive specification.
Syntax:
PERCENT { ON | OFF }
In the Example below, the user executing the XAC STOPDISK $DATA1 would
accomplish the same thing as someone being logged in to 255,253 and typing SCF
STOP DISK $DATA1. The %1 is the first token after the command. %2 would be the
second token, up to %9. There are other %tokens available such as %T (terminal) and
%G (group). Refer to Appendix F:XAC Obey and Command File Use and Token
Replacement.”
Example:
XAC command: XAC STOPDISK $DATA1
ACACL Command Entry:
COMMAND STOPDISK
USER 255,253
OBJECT $SYSTEM.SYSNN.SCF
FILE $SYSTEM.SYSMGR.STOPDISK
PERCENT ON
Contents of the $SYSTEM.SYSMGR.STOPDISK file:
STOP DISK %1
Note: The order of evaluation of commands is ALIAS, %parameters, FKEY,
ALLOWCMD / DENYCMD, COMMANDESC and RUNCHECK. All %parameter
substitution occurs after any ALIAS entries are processed and before any other
command evaluation occurs.
A percent sign variable, which can be used in various places such as with the INPUT
keyword, allows the user to volume back to the $VOLUME.SUBVOLUME where the
user was when he or she executed the XAC command.
Example of &v use:
PERCENT ON
INPUT "VOLUME %v"