&SYSLIB_VOLUME System Variable Symbol
Use &SYSLIB_VOLUME in a macro definition to obtain the volume identifier of the volume containing the data set from which the assembler read the macro definition statements. If the macro definition is a source macro definition, &SYSLIB_VOLUME is assigned the same value as &SYSIN_VOLUME.
The local-scope system variable symbol &SYSLIB_VOLUME is assigned a read-only value each time a macro definition is called.
If the assembler runs on the CMS component of the VM operating
system, and the source module is being read from a Shared File System
CMS file, &SYSLIB_VOLUME is assigned the value
** SFS
.
Notes:
- If the LIBRARY user exit provides the data set information then
the value in &SYSLIB_VOLUME is the value extracted from the Exit-Specific
Information block described in the section
Exit-Specific Information Block
in the HLASM Programmer's Guide. - The value of the type attribute of &SYSLIB_VOLUME (T'&SYSLIB_VOLUME) is U, unless &SYSLIB_VOLUME is assigned a null character string, in which case the value of the type attribute is O.
- The value of the count attribute of &SYSLIB_VOLUME (K'&SYSLIB_VOLUME) is equal to the number of characters assigned as a value to &SYSLIB_VOLUME. If &SYSLIB_VOLUME is assigned a null character string, the value of the count attribute is 0. The maximum length of this system variable symbol is 6.
- Throughout the use of a macro definition, the value of &SYSLIB_VOLUME is considered a constant.