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

&SYSPRINT_MEMBER System Variable Symbol &SYSPRINT_MEMBER System Variable Symbol The value of &SYSPRINT_MEMBER is always null. The value of the type attribute is O, and the value of the count attribute is 0. You can use &SYSPRINT_MEMBER in a macro definition to obtain the name of the data set member to which the assembler is writing the assembler listing. The local-scope system variable symbol &SYSPRINT_MEMBER is assigned a read-only value each time a macro definition is called. If the data set to which the assembler is writing the assembler listing is not an MVS partitioned data set, &SYSPRINT_MEMBER is assigned a null character string. Notes: 1. If the LISTING user exit provides the listing data set information then the value in &SYSPRINT_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 &SYSPRINT_MEMBER (T'&SYSPRINT_MEMBER) is U, unless &SYSPRINT_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 &SYSPRINT_MEMBER (K'&SYSPRINT_MEMBER) is equal to the number of characters assigned as a value to &SYSPRINT_MEMBER. If &SYSPRINT_MEMBER is assigned a null character string, the value of the count attribute is 0. &SYSPRINT_VOLUME System Variable Symbol Use &SYSPRINT_VOLUME in a macro definition to obtain the volume identifier of the first volume containing the data set to which the assembler writes the assembler listing. The local-scope system variable symbol &SYSPRINT_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 assembler listing writes to a Shared File System CMS file, &SYSPRINT_VOLUME is assigned the value SFS. If the volume on which the data set resides is not labeled, &SYSPRINT_VOLUME is assigned a null character string. Notes: 1. If the LISTING user exit provides the listing data set information then the value in &SYSPRINT_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 &SYSPRINT_VOLUME (T'&SYSPRINT_VOLUME) is U, unless &SYSPRINT_VOLUME is assigned a null character string, in which case the value of the type attribute is O. 288 HLASM V1R5 Language Reference

&SYSPUNCH_DSN System Variable Symbol 3. The value of the count attribute of &SYSPRINT_VOLUME (K'&SYSPRINT_VOLUME) is equal to the number of characters assigned as a value to &SYSPRINT_VOLUME. If &SYSPRINT_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. &SYSPUNCH_DSN System Variable Symbol Use &SYSPUNCH_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 DECK is specified. The local-scope system variable symbol &SYSPUNCH_DSN is assigned a read-only value each time a macro definition is called. When the assembler runs on the MVS operating systems, the value of the character string assigned to &SYSPUNCH_DSN is always the value stored in the JFCB for SYSPUNCH. If SYSPUNCH is allocated to DUMMY, or a NULLFILE, the value in &SYSPUNCH_DSN is NULLFILE. When the assembler runs on the CMS component of the VM operating systems, the value of the character string assigned to &SYSPUNCH_DSN is determined as follows: Figure 74. Contents of &SYSPUNCH_DSN on CMS SYSPUNCH Allocated To: CMS file Dummy file (no physical I/O) Punch Labeled tape file Contents of &SYSPUNCH_DSN: The 8-character filename, the 8-character filetype, and the 2-character filemode of the file, each separated by a space 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. On VSE, the value of the character string assigned to &SYSPUNCH_DSN is determined as follows: Figure 75. Contents of &SYSPUNCH_DSN on VSE SYSPCH Assigned To: Contents of &SYSPUNCH_DSN: Disk file The file-id Punch SYSPCH Labeled tape file The file-id of the tape file Unlabeled tape file SYSPCH Examples: On MVS, &SYSPUNCH_DSN might be assigned a value such as: IBMAPC.IBMAPCA.JOB6734.D13.? Chapter 7. How to Specify Macro Definitions 289

&SYSPUNCH_DSN System Variable Symbol<br />

3. The value of the count attribute of &SYSPRINT_VOLUME<br />

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

value to &SYSPRINT_VOLUME. If &SYSPRINT_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 />

&SYSPUNCH_DSN System Variable Symbol<br />

Use &SYSPUNCH_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 DECK is<br />

specified.<br />

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

read-only 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 &SYSPUNCH_DSN is always the value stored in the<br />

JFCB for SYSPUNCH. If SYSPUNCH is allocated to DUMMY, or a NULLFILE, the<br />

value in &SYSPUNCH_DSN is NULLFILE.<br />

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

the value of the character string assigned to &SYSPUNCH_DSN is determined as<br />

follows:<br />

Figure 74. Contents of &SYSPUNCH_DSN on CMS<br />

SYSPUNCH Allocated To:<br />

CMS file<br />

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

Punch<br />

Labeled tape file<br />

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

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 />

On VSE, the value of the character string assigned to &SYSPUNCH_DSN is<br />

determined as follows:<br />

Figure 75. Contents of &SYSPUNCH_DSN on VSE<br />

SYSPCH Assigned To:<br />

Contents of &SYSPUNCH_DSN:<br />

Disk file<br />

The file-id<br />

Punch<br />

SYSPCH<br />

Labeled tape file<br />

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

Unlabeled tape file<br />

SYSPCH<br />

Examples:<br />

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

IBMAPC.IBMAPCA.JOB6734.D13.?<br />

Chapter 7. How to Specify Macro Definitions 289

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

Saved successfully!

Ooh no, something went wrong!