XYGATE Access Control Reference Manual
XYGATE
®
 Access Control Reference Manual 
Appendix D: XAC Interactive Commands 
XYPRO Technology Corporation  245  Proprietary and Confidential 
D18:  >XAC_CHANGE_VOLUME 
This command, can only be used within a macro, and the command must be entirely in 
uppercase or entirely in lowercase type. It causes XAC’s internal volume and 
subvolume to be changed to the specified values. 
Syntax: 
>XAC_CHANGE_VOLUME <volume/subvolume> 
Example: 
?section vs macro 
== Volume Switch macro 
== Uses abbreviations for common development subvols 
#frame 
#push t1,t2 
#set t1 %1% 
[#case [t1] 
 |SRC|   #set t2 $dev.source 
 |OBJ|   #set t2 $dev.object 
 |DOC|   #set t2 $dev.doc 
 |otherwise| #set t2 [t1] 
] 
volume [t2] 
#output >xac_change_volume [t2] 
#unframe 
The installation SUBVOL also contains a file, VOLMAC, which is an example of 
replacing the VOLUME command with a MACRO that will replace the VOLUME 
command with one that will execute the >XAC_CHANGE_VOLUME. 










