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

&SYSTERM_DSN System Variable Symbol &SYSTERM_DSN System Variable Symbol Use &SYSTERM_DSN in a macro definition to obtain the name of the data set to which the assembler is writing the terminal records. The local-scope system variable symbol &SYSTERM_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 &SYSTERM_DSN is always the value stored in the JFCB for SYSTERM. If SYSTERM is allocated to DUMMY, or a NULLFILE, the value in &SYSTERM_DSN is NULLFILE. When the assembler runs on the CMS component of the VM operating systems, the value of the character string assigned to &SYSTERM_DSN is determined as follows: Figure 76. Contents of &SYSTERM_DSN on CMS SYSTERM Allocated To: CMS file Dummy file (no physical I/O) Printer Labeled tape file Contents of &SYSTERM_DSN: The 8-character filename, the 8-character filetype, and the 2-character filemode of the file, each separated by a space DUMMY PRINTER 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. Terminal TERMINAL On VSE, the value of the character string assigned to &SYSTERM_DSN is always SYSLOG. Examples: On MVS, &SYSTERM_DSN might be assigned a value such as: IBMAPC.IBMAPCA.JOB6734.D14.? On CMS, &SYSTERM_DSN might be assigned a value such as: TERMINAL Notes: 1. If the TERM user exit provides the terminal data set information then the value in &SYSTERM_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 &SYSTERM_DSN (T'&SYSTERM_DSN) is always U. 3. The value of the count attribute of &SYSTERM_DSN (K'&SYSTERM_DSN) is equal to the number of characters assigned as a value to &SYSTERM_DSN. 294 HLASM V1R5 Language Reference

&SYSTERM_VOLUME System Variable Symbol &SYSTERM_MEMBER System Variable Symbol The value of &SYSTERM_MEMBER is always null. The value of the type attribute is O, and the value of the count attribute is 0. You can use &SYSTERM_MEMBER in a macro definition to obtain the name of the data set member to which the assembler is writing the terminal records. The local-scope system variable symbol &SYSTERM_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 terminal records is not an MVS partitioned data set, &SYSTERM_MEMBER is assigned a null character string. Notes: 1. If the TERM user exit provides the terminal data set information then the value in &SYSTERM_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 &SYSTERM_MEMBER (T'&SYSTERM_MEMBER) is U, unless &SYSTERM_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 &SYSTERM_MEMBER (K'&SYSTERM_MEMBER) is equal to the number of characters assigned as a value to &SYSTERM_MEMBER. If &SYSTERM_MEMBER is assigned a null character string, the value of the count attribute is 0. &SYSTERM_VOLUME System Variable Symbol The value of &SYSTERM_VOLUME is always null. The value of the type attribute is U, and the value of the count attribute is 0. You can use &SYSTERM_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 terminal records. The local-scope system variable symbol &SYSTERM_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 terminal records are being written to a Shared File System CMS file, &SYSTERM_VOLUME is assigned the value SFS. If the volume on which the data set resides is not labeled, &SYSTERM_VOLUME is assigned a null character string. Chapter 7. How to Specify Macro Definitions 295

&SYSTERM_VOLUME System Variable Symbol<br />

&SYSTERM_MEMBER System Variable Symbol<br />

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

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

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

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

records.<br />

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

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

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

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

Notes:<br />

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

in &SYSTERM_MEMBER is the value extracted from the Exit-Specific<br />

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

2. The value of the type attribute of &SYSTERM_MEMBER<br />

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

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

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

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

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

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

&SYSTERM_VOLUME System Variable Symbol<br />

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

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

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

volume identifier of the first volume containing the data set to which the assembler<br />

is writing the terminal records.<br />

The local-scope system variable symbol &SYSTERM_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 system, and the<br />

terminal records are being written to a Shared File System CMS file,<br />

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

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

assigned a null character string.<br />

Chapter 7. How to Specify Macro Definitions 295

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

Saved successfully!

Ooh no, something went wrong!