HLASM Language Reference
HLASM Language Reference HLASM Language Reference
&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
- Page 258 and 259: Introduction to Macro Language Chap
- Page 260 and 261: Introduction to Macro Language The
- Page 262 and 263: Introduction to Macro Language Macr
- 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 310 and 311: &SYSPUNCH_MEMBER System Variable Sy
- Page 312 and 313: &SYSSTEP System Variable Symbol Not
- Page 314 and 315: &SYSTERM_DSN System Variable Symbol
- 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
&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