22.02.2015 Views

HLASM Language Reference

HLASM Language Reference

HLASM Language Reference

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

&SYSJOB System Variable Symbol<br />

&SYSJOB System Variable Symbol<br />

Use &SYSJOB to obtain the jobname of the assembly job used to assemble your<br />

source module. &SYSJOB has a global scope.<br />

When the assembler runs on the CMS component of the VM operating systems,<br />

&SYSJOB is assigned a value of (NOJOB).<br />

Notes:<br />

1. The value of the type attribute of &SYSJOB (T'&SYSJOB) is always U.<br />

2. The value of the count attribute (K'&SYSJOB) is the number of characters<br />

assigned.<br />

&SYSLIB_DSN System Variable Symbol<br />

Use &SYSLIB_DSN in a macro definition to obtain name of the data set from which<br />

the assembler read the macro definition statements. If the macro definition is a<br />

source macro definition, &SYSLIB_DSN is assigned the same value as<br />

&SYSIN_DSN.<br />

The local-scope system variable symbol &SYSLIB_DSN is assigned a read-only<br />

value each time a macro definition is called.<br />

When the assembler runs on the MVS operating systems, the value of the<br />

character string assigned to &SYSLIB_DSN is always the value stored in the JFCB<br />

for SYSLIB.<br />

When the assembler runs on the CMS component of the VM operating systems,<br />

and the macro definition is a library macro definition, &SYSLIB_DSN is assigned<br />

the file name, file type, and file mode of the data set.<br />

When the macro definition is a library macro definition, &SYSLIB_DSN is<br />

assigned the library name and sublibrary name of the VSE Librarian file.<br />

Examples<br />

Under MVS, &SYSLIB_DSN might be assigned a value such as:<br />

SYS1.MACLIB<br />

Under CMS, &SYSLIB_DSN might be assigned a value such as:<br />

DMSGPI MACLIB S2<br />

Under VSE, &SYSLIB_DSN might be assigned a value such as:<br />

IJSYSRS.SYSLIB<br />

Notes:<br />

1. If the LIBRARY user exit provides the data set information then the value in<br />

&SYSLIB_DSN is the value extracted from the Exit-Specific Information block<br />

described in the <strong>HLASM</strong> Programmer's Guide.<br />

2. The value of the type attribute of &SYSLIB_DSN (T'&SYSLIB_DSN) is always<br />

U.<br />

272 <strong>HLASM</strong> V1R5 <strong>Language</strong> <strong>Reference</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!