HLASM Language Reference

HLASM Language Reference HLASM Language Reference

faculty.cs.niu.edu
from faculty.cs.niu.edu More from this publisher
22.02.2015 Views

&SYSLIN_DSN System Variable Symbol &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. 4. Throughout the use of a macro definition, the value of &SYSLIB_VOLUME is considered a constant. &SYSLIN_DSN System Variable Symbol Use &SYSLIN_DSN in a macro definition to obtain the name of the data set to which the assembler is writing the object records when assembler option OBJECT, GOFF or XOBJECT is specified. The local-scope system variable symbol &SYSLIN_DSN is assigned a read-only value each time a macro definition is called. The value of the character string assigned to &SYSLIN_DSN is always the value stored in the JFCB for SYSLIN. If SYSLIN is allocated to DUMMY, or a NULLFILE, the value in &SYSLIN_DSN is NULLFILE. The value of the character string assigned to &SYSLIN_DSN is determined as follows: Figure 69. Contents of &SYSLIN_DSN on CMS SYSLIN Allocated To: Contents of &SYSLIN_DSN: CMS file The 8-character filename, the 8-character filetype, and the 2-character filemode of the file, each separated by a space Dummy file (no physical I/O) Punch Labeled tape file DUMMY PUNCH The data set name of the tape file Unlabeled tape file TAPn, where n is a value from 0 to 9, or A to F. The value of the character string assigned to &SYSLIN_DSN is determined as follows: Figure 70. Contents of &SYSLIN_DSN on VSE SYSLNK Assigned To: Contents of &SYSLIN_DSN: Disk file The file-id Labeled tape file The file-id of the tape file Unlabeled tape file SYSLNK Examples: On MVS, &SYSLIN_DSN might be assigned a value such as: 274 HLASM V1R5 Language Reference

&SYSLIN_MEMBER System Variable Symbol IBMAPC.OBJ On CMS, &SYSLIN_DSN might be assigned a value such as: SAMPLE TEXT A1 Notes: 1. If the OBJECT user exit provides the data set information then the value in &SYSLIN_DSN is the value extracted from the Exit-Specific Information block described in the HLASM Programmer's Guide. 2. The value of the type attribute of &SYSLIN_DSN (T'&SYSLIN_DSN) is always U. 3. The value of the count attribute of &SYSLIN_DSN (K'&SYSLIN_DSN) is equal to the number of characters assigned as a value to &SYSLIN_DSN. &SYSLIN_MEMBER System Variable Symbol The value of &SYSLIN_MEMBER is always null. The value of the type attribute is O, and the value of the count attribute is 0. You can use &SYSLIN_MEMBER in a macro definition to obtain the name of the data set member to which the assembler is writing the object module when the assembler option OBJECT, GOFF or XOBJECT is specified. The local-scope system variable symbol &SYSLIN_MEMBER is assigned a read-only value each time a macro definition is called. If the library to which the assembler is writing the object records is not an MVS partitioned data set, &SYSLIN_MEMBER is assigned a null character string. Notes: 1. If the OBJECT user exit provides the data set information then the value in &SYSLIN_MEMBER is the value extracted from the Exit-Specific Information block described in the HLASM Programmer's Guide. 2. The value of the type attribute of &SYSLIN_MEMBER (T'&SYSLIN_MEMBER) is U, unless &SYSLIN_MEMBER is assigned a null character string, in which case the value of the type attribute is O. 3. The value of the count attribute of &SYSLIN_MEMBER (K'&SYSLIN_MEMBER) is equal to the number of characters assigned as a value to &SYSLIN_MEMBER. If &SYSLIN_MEMBER is assigned a null character string, the value of the count attribute is 0. &SYSLIN_VOLUME System Variable Symbol Use &SYSLIN_VOLUME in a macro definition to obtain the volume identifier of the object data set. The volume identifier is of the first volume containing the data set. &SYSLIN_VOLUME is only assigned a value when you specify the OBJECT, GOFF or XOBJECT assembler option. Chapter 7. How to Specify Macro Definitions 275

&SYSLIN_DSN System Variable Symbol<br />

&SYSLIB_VOLUME. If &SYSLIB_VOLUME is assigned a null character string,<br />

the value of the count attribute is 0. The maximum length of this system<br />

variable symbol is 6.<br />

4. Throughout the use of a macro definition, the value of &SYSLIB_VOLUME is<br />

considered a constant.<br />

&SYSLIN_DSN System Variable Symbol<br />

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

which the assembler is writing the object records when assembler option OBJECT,<br />

GOFF or XOBJECT is specified.<br />

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

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

The value of the character string assigned to &SYSLIN_DSN is always<br />

the value stored in the JFCB for SYSLIN. If SYSLIN is allocated to DUMMY, or a<br />

NULLFILE, the value in &SYSLIN_DSN is NULLFILE.<br />

The value of the character string assigned to &SYSLIN_DSN is<br />

determined as follows:<br />

Figure 69. Contents of &SYSLIN_DSN on CMS<br />

SYSLIN Allocated To:<br />

Contents of &SYSLIN_DSN:<br />

CMS file<br />

The 8-character filename, the<br />

8-character filetype, and the<br />

2-character filemode of the file, each<br />

separated by a space<br />

Dummy file (no physical I/O)<br />

Punch<br />

Labeled tape file<br />

DUMMY<br />

PUNCH<br />

The data set name of the tape file<br />

Unlabeled tape file TAPn, where n is a value from 0 to 9,<br />

or A to F.<br />

The value of the character string assigned to &SYSLIN_DSN is<br />

determined as follows:<br />

Figure 70. Contents of &SYSLIN_DSN on VSE<br />

SYSLNK Assigned To:<br />

Contents of &SYSLIN_DSN:<br />

Disk file<br />

The file-id<br />

Labeled tape file<br />

The file-id of the tape file<br />

Unlabeled tape file<br />

SYSLNK<br />

Examples:<br />

On MVS, &SYSLIN_DSN might be assigned a value such as:<br />

274 <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!