HLASM Language Reference
HLASM Language Reference HLASM Language Reference
&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
- Page 264 and 265: MACRO and MEND Statements The assem
- Page 266 and 267: Prototype Statement Macros that are
- Page 268 and 269: Model Statements generated from tha
- Page 270 and 271: Model Statements ▌5▐ ▌6▐
- Page 272 and 273: Model Statements Notes: 1. You can
- Page 274 and 275: Positional Parameters Symbolic para
- Page 276 and 277: Processing Statements Processing St
- Page 278 and 279: AREAD Instruction Assign Local Time
- Page 280 and 281: COPY Instruction sequence_symbol is
- Page 282 and 283: System Variable Symbols System Vari
- Page 284 and 285: &SYSADATA_MEMBER System Variable Sy
- Page 286 and 287: &SYSCLOCK System Variable Symbol &S
- Page 288 and 289: &SYSECT System Variable Symbol depe
- Page 290 and 291: &SYSIN_MEMBER System Variable Symbo
- Page 292 and 293: &SYSJOB System Variable Symbol &SYS
- Page 294 and 295: &SYSLIN_DSN System Variable Symbol
- Page 296 and 297: &SYSLIST System Variable Symbol The
- Page 298 and 299: &SYSLOC System Variable Symbol To
- Page 300 and 301: &SYSM_SEV System Variable Symbol &S
- Page 302 and 303: &SYSNDX System Variable Symbol The
- Page 304 and 305: &SYSOPT_DBCS System Variable Symbol
- Page 306 and 307: &SYSPARM System Variable Symbol Not
- Page 308 and 309: &SYSPRINT_MEMBER System Variable Sy
- Page 310 and 311: &SYSPUNCH_MEMBER System Variable Sy
- Page 312 and 313: &SYSSTEP System Variable Symbol Not
- Page 316 and 317: &SYSTIME System Variable Symbol Not
- Page 318 and 319: Macro Instruction Format sequence_s
- Page 320 and 321: Macro Instruction Format Operand En
- Page 322 and 323: Macro Instruction Format When you n
- Page 324 and 325: Sublists in Operands the order in w
- Page 326 and 327: Sublists in Operands &SYSLIST( n,m)
- Page 328 and 329: Values in Operands Notes: 1. Spaces
- Page 330 and 331: Values in Operands Parentheses In m
- Page 332 and 333: Inner and Outer Macro Instructions
- Page 334 and 335: Levels of Macro Call Nesting When t
- Page 336 and 337: Levels of Macro Call Nesting System
- Page 338 and 339: How to Write Conditional Assembly I
- Page 340 and 341: SET Symbols SET Symbol Specificatio
- Page 342 and 343: SET Symbols Figure 86 (Page 3 of 3)
- Page 344 and 345: Data Attributes this example indica
- Page 346 and 347: Data Attributes variable_symbol is
- Page 348 and 349: Data Attributes The value of an att
- Page 350 and 351: Data Attributes The following attri
- Page 352 and 353: Data Attributes Assembler gives a t
- Page 354 and 355: Data Attributes The scale attribute
- Page 356 and 357: Data Attributes Number Attribute (N
- Page 358 and 359: Data Attributes The operation code
- Page 360 and 361: Lookahead MACRO &NAME MOVE &TO,&FRO
- Page 362 and 363: Open Code Sequence Symbols The cond
&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