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

&SYSIN_MEMBER System Variable Symbol When the assembler runs on the VSE operating system, the value of the character string assigned to &SYSIN_DSN is determined as follows: Figure 68. Contents of &SYSIN_DSN on VSE SYSIPT Assigned To: Contents of &SYSIN_DSN: Job stream (SYSIPT) SYSIPT Disk The file-id Labeled tape file The file-id of the tape file Unlabeled tape file SYSIPT Examples: On MVS, &SYSIN_DSN might be assigned a value such as: IBMAPC.ASSEMBLE.SOURCE On CMS, &SYSIN_DSN might be assigned a value such as: SAMPLE ASSEMBLE A1 Notes: 1. If the SOURCE user exit provides the data set information then the value in &SYSIN_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 &SYSIN_DSN (T'&SYSIN_DSN) is always U. 3. The value of the count attribute of &SYSIN_DSN (K'&SYSIN_DSN) is equal to the number of characters assigned as a value to &SYSIN_DSN. In the CMS example above, the count attribute of &SYSIN_DSN is 20. 4. Throughout the use of a macro definition, the value of &SYSIN_DSN is considered a constant. &SYSIN_MEMBER System Variable Symbol The value of &SYSIN_MEMBER is always null. The value of the type attribute is O, and the value of the count attribute is 0. You can use &SYSIN_MEMBER in a macro definition to obtain the name of the data set member from which the assembler is reading the source module. If concatenated data sets are used to provide the source module, &SYSIN_MEMBER has a value equal to the name of the data set member that contains the macro instruction that calls the definition. The local-scope system variable symbol &SYSIN_MEMBER is assigned a read-only value each time a macro definition is called. 270 HLASM V1R5 Language Reference

&SYSIN_VOLUME System Variable Symbol If the data set from which the assembler is reading the source module is not an MVS partitioned data set or a CMS MACLIB, &SYSIN_MEMBER is assigned a null character string. Notes: 1. If the SOURCE user exit provides the data set information then the value in &SYSIN_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 &SYSIN_MEMBER (T'&SYSIN_MEMBER) is U, unless &SYSIN_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 &SYSIN_MEMBER (K'&SYSIN_MEMBER) is equal to the number of characters assigned as a value to &SYSIN_MEMBER. If &SYSIN_MEMBER is assigned a null character string, the value of the count attribute is 0. 4. Throughout the use of a macro definition, the value of &SYSIN_MEMBER is considered a constant. &SYSIN_VOLUME System Variable Symbol Use &SYSIN_VOLUME in a macro definition to obtain the volume identifier of the first volume containing the data set from which the assembler is reading the source module. If concatenated data sets are used to provide the source module, &SYSIN_VOLUME has a value equal to the volume identifier of the first volume containing the data set that contains the macro call instruction. The local-scope system variable symbol &SYSIN_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, &SYSIN_VOLUME is assigned the value SFS. If the volume on which the input data set resides is not labeled, &SYSIN_VOLUME is assigned a null character string. Notes: 1. If the SOURCE user exit provides the data set information then the value in &SYSIN_VOLUME 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 &SYSIN_VOLUME (T'&SYSIN_VOLUME) is U, unless &SYSIN_VOLUME 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 &SYSIN_VOLUME (K'&SYSIN_VOLUME) is equal to the number of characters assigned as a value to &SYSIN_VOLUME. If &SYSIN_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 &SYSIN_VOLUME is considered a constant. Chapter 7. How to Specify Macro Definitions 271

&SYSIN_VOLUME System Variable Symbol<br />

If the data set from which the assembler is reading the source module is not an<br />

MVS partitioned data set or a CMS MACLIB, &SYSIN_MEMBER is assigned a null<br />

character string.<br />

Notes:<br />

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

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

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

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

U, unless &SYSIN_MEMBER is assigned a null character string, in which case<br />

the value of the type attribute is O.<br />

3. The value of the count attribute of &SYSIN_MEMBER (K'&SYSIN_MEMBER)<br />

is equal to the number of characters assigned as a value to<br />

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

the value of the count attribute is 0.<br />

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

considered a constant.<br />

&SYSIN_VOLUME System Variable Symbol<br />

Use &SYSIN_VOLUME in a macro definition to obtain the volume identifier of the<br />

first volume containing the data set from which the assembler is reading the source<br />

module.<br />

If concatenated data sets are used to provide the source module,<br />

&SYSIN_VOLUME has a value equal to the volume identifier of the first volume<br />

containing the data set that contains the macro call instruction.<br />

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

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

If the assembler runs on the CMS component of the VM operating<br />

system, and the source module is being read from a Shared File System CMS file,<br />

&SYSIN_VOLUME is assigned the value SFS.<br />

If the volume on which the input data set resides is not labeled, &SYSIN_VOLUME<br />

is assigned a null character string.<br />

Notes:<br />

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

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

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

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

U, unless &SYSIN_VOLUME is assigned a null character string, in which case<br />

the value of the type attribute is O.<br />

3. The value of the count attribute of &SYSIN_VOLUME (K'&SYSIN_VOLUME) is<br />

equal to the number of characters assigned as a value to &SYSIN_VOLUME. If<br />

&SYSIN_VOLUME is assigned a null character string, the value of the count<br />

attribute is 0. The maximum length of this system variable symbol is 6.<br />

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

considered a constant.<br />

Chapter 7. How to Specify Macro Definitions 271

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

Saved successfully!

Ooh no, something went wrong!