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

&SYSADATA_MEMBER System Variable Symbol When the assembler runs on the CMS component of the VM operating systems, the value of the character string assigned to &SYSADATA_DSN is determined as follows: Figure 66. Contents of &SYSADATA_DSN on CMS SYSADATA Allocated To: CMS file Dummy file (no physical I/O) Labeled tape file Contents of &SYSADATA_DSN: The 8-character filename, the 8-character filetype, and the 2-character filemode of the file, each separated by a space DUMMY 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. For example, &SYSADATA_DSN might be assigned a value such as: SAMPLE SYSADATA A1 The value of the character string assigned to &SYSADATA_DSN is the file id from the SYSADAT dlbl. For example, &SYSADATA_DSN might be assigned a value such as: MYDATA Notes: 1. The value of the type attribute of &SYSADATA_DSN (T'&SYSADATA_DSN) is always U. 2. The value of the count attribute of &SYSADATA_DSN (K'&SYSADATA_DSN) is equal to the number of characters assigned as a value to &SYSADATA_DSN. In the CMS example above, the count attribute of &SYSADATA_DSN is 20. &SYSADATA_MEMBER System Variable Symbol The value of &SYSADATA_MEMBER is always null. The value of the type attribute is O, and the value of the count attribute is 0. You can use &SYSADATA_MEMBER in a macro definition to obtain the name of the data set member to which the assembler is writing the associated data. The local-scope system variable symbol &SYSADATA_MEMBER is assigned a read-only value each time a macro definition is called. 264 HLASM V1R5 Language Reference

&SYSADATA_VOLUME System Variable Symbol If the data set to which the assembler is writing the associated data is not an MVS partitioned data set, &SYSADATA_MEMBER is assigned a null character string. Notes: 1. The value of the type attribute of &SYSADATA_MEMBER (T'&SYSADATA_MEMBER) is U, unless &SYSADATA_MEMBER is assigned a null character string, in which case the value of the type attribute is O. 2. The value of the count attribute of &SYSADATA_MEMBER (K'&SYSADATA_MEMBER) is equal to the number of characters assigned as a value to &SYSADATA_MEMBER. If &SYSADATA_MEMBER is assigned a null character string, the value of the count attribute is 0. &SYSADATA_VOLUME System Variable Symbol Use &SYSADATA_VOLUME in a macro definition to obtain the volume identifier of the first volume containing the data set to which the assembler is writing the associated data. The local-scope system variable symbol &SYSADATA_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 associated data is being written to a Shared File System CMS file, &SYSADATA_VOLUME is assigned the value SFS. If the volume on which the data set resides is not labeled, &SYSADATA_VOLUME is assigned a null character string. Notes: 1. The value of the type attribute of &SYSADATA_VOLUME (T'&SYSADATA_VOLUME) is U, unless &SYSADATA_VOLUME is assigned a null character string, in which case the value of the type attribute is O. 2. The value of the count attribute of &SYSADATA_VOLUME (K'&SYSADATA_VOLUME) is equal to the number of characters assigned as a value to &SYSADATA_VOLUME. If &SYSADATA_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. &SYSASM System Variable Symbol Use &SYSASM to obtain the name of the assembler being used to assemble your source module. &SYSASM has a global scope. For example, when IBM High Level Assembler for MVS & VM & VSE is used, &SYSASM has the value: HIGH LEVEL ASSEMBLER Notes: 1. The value of the type attribute of &SYSASM (T'&SYSASM) is always U. 2. The value of the count attribute (K'&SYSASM) is the number of characters assigned. In the above example, the count attribute of &SYSASM is 20. Chapter 7. How to Specify Macro Definitions 265

&SYSADATA_VOLUME System Variable Symbol<br />

If the data set to which the assembler is writing the associated data is not an MVS<br />

partitioned data set, &SYSADATA_MEMBER is assigned a null character string.<br />

Notes:<br />

1. The value of the type attribute of &SYSADATA_MEMBER<br />

(T'&SYSADATA_MEMBER) is U, unless &SYSADATA_MEMBER is assigned a<br />

null character string, in which case the value of the type attribute is O.<br />

2. The value of the count attribute of &SYSADATA_MEMBER<br />

(K'&SYSADATA_MEMBER) is equal to the number of characters assigned as<br />

a value to &SYSADATA_MEMBER. If &SYSADATA_MEMBER is assigned a<br />

null character string, the value of the count attribute is 0.<br />

&SYSADATA_VOLUME System Variable Symbol<br />

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

the first volume containing the data set to which the assembler is writing the<br />

associated data.<br />

The local-scope system variable symbol &SYSADATA_VOLUME is assigned a<br />

read-only 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 associated data is being written to a Shared File System CMS file,<br />

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

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

is assigned a null character string.<br />

Notes:<br />

1. The value of the type attribute of &SYSADATA_VOLUME<br />

(T'&SYSADATA_VOLUME) is U, unless &SYSADATA_VOLUME is assigned a<br />

null character string, in which case the value of the type attribute is O.<br />

2. The value of the count attribute of &SYSADATA_VOLUME<br />

(K'&SYSADATA_VOLUME) is equal to the number of characters assigned as a<br />

value to &SYSADATA_VOLUME. If &SYSADATA_VOLUME is assigned a null<br />

character string, the value of the count attribute is 0. The maximum length of<br />

this system variable symbol is 6.<br />

&SYSASM System Variable Symbol<br />

Use &SYSASM to obtain the name of the assembler being used to assemble your<br />

source module. &SYSASM has a global scope. For example, when IBM High<br />

Level Assembler for MVS & VM & VSE is used, &SYSASM has the value:<br />

HIGH LEVEL ASSEMBLER<br />

Notes:<br />

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

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

assigned. In the above example, the count attribute of &SYSASM is 20.<br />

Chapter 7. How to Specify Macro Definitions 265

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

Saved successfully!

Ooh no, something went wrong!