22.02.2015 Views

HLASM Language Reference

HLASM Language Reference

HLASM Language Reference

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

&SYSADATA_MEMBER System Variable Symbol<br />

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

systems, the value of the character string assigned to &SYSADATA_DSN is<br />

determined as follows:<br />

Figure 66. Contents of &SYSADATA_DSN on CMS<br />

SYSADATA Allocated To:<br />

CMS file<br />

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

Labeled tape file<br />

Contents of &SYSADATA_DSN:<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<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 />

For example, &SYSADATA_DSN might be assigned a value such as:<br />

SAMPLE SYSADATA A1<br />

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

file id from the SYSADAT dlbl.<br />

For example, &SYSADATA_DSN might be assigned a value such as:<br />

MYDATA<br />

Notes:<br />

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

always U.<br />

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

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

&SYSADATA_DSN. In the CMS example above, the count attribute of<br />

&SYSADATA_DSN is 20.<br />

&SYSADATA_MEMBER System Variable Symbol<br />

The value of &SYSADATA_MEMBER is always null. The value of the<br />

type attribute is O, and the value of the count attribute is 0.<br />

You can use &SYSADATA_MEMBER in a macro definition to obtain<br />

the name of the data set member to which the assembler is writing the associated<br />

data.<br />

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

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

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