XYGATE Access Control Reference Manual
XYGATE
®
 Access Control Reference Manual 
Appendix E: XAC Host Macros 
XYPRO Technology Corporation  271  Proprietary and Confidential 
E19:  XAC_RUN_MACRO 
XAC_RUN_MACRO is used to execute macros from an ACACL Command Entry. This 
provides error recovery within the command execution; thus, a macro that encounters 
errors does not terminate execution and return to an unsecured TACL prompt running 
as a privileged Userid. 
Syntax: 
XAC_RUN_MACRO [<options>] <TACL-command> 
where <options> can be: 
-LOGOFF  Logoff TACL at end of <TACL-command> 
-EXIT  Execute #SET #EXIT 1 at end of <TACL-command> 
-STOP  Execute #STOP at the end of <TACL-command> 
-PLAIN  Execute #SET #TACLFORMAT PLAIN before executing 
<TACL-command> 
-BREAK  Execute #SET #BREAKMODE ENABLE before executing 
<TACL-command> 
Note: LOGOFF, -EXIT and -STOP are mutually exclusive. 
The Example below shows an ACACL Command Entry that starts a TACL that 
executes the TACL macro $DATA1.APPOPS.MONDAY and exits. 
Example: 
ACACL Command Entry 
COMMAND BUILD-ENVIRONMENT 
 USER 255,255 
 OBJECT $SYSTEM.SYSNN.TACL 
 ACL 222,* 
 INPUT "XAC_RUN_MACRO -EXIT RUN $DATA1.APPOPS.MON" 
Note: If the XAC TACL segment is not installed as a standard part of the logon 
sequence, you must include a statement to attach the segment before executing 
the XAC_RUN_MACRO (refer to Appendix E5: “XAC” on page 249). 
Example: 
ACACL Command Entry 
COMMAND BUILD-ENVIRONMENT 
 USER 255,255 
 OBJECT $SYSTEM.SYSNN.TACL 
 ACL 222,* 
 INPUT "RUN $SYSTEM.XYGATEAC.XAC INSTALL" 
 INPUT "XAC_RUN_MACRO -EXIT RUN $DATA1.APPOPS.MON" 










