HLASM Language Reference
HLASM Language Reference HLASM Language Reference
&SYSIN_MEMBER System Variable Symbol When the assembler runs on the VSE operating system, the value of the character string assigned to &SYSIN_DSN is determined as follows: Figure 68. Contents of &SYSIN_DSN on VSE SYSIPT Assigned To: Contents of &SYSIN_DSN: Job stream (SYSIPT) SYSIPT Disk The file-id Labeled tape file The file-id of the tape file Unlabeled tape file SYSIPT Examples: On MVS, &SYSIN_DSN might be assigned a value such as: IBMAPC.ASSEMBLE.SOURCE On CMS, &SYSIN_DSN might be assigned a value such as: SAMPLE ASSEMBLE A1 Notes: 1. If the SOURCE user exit provides the data set information then the value in &SYSIN_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 &SYSIN_DSN (T'&SYSIN_DSN) is always U. 3. The value of the count attribute of &SYSIN_DSN (K'&SYSIN_DSN) is equal to the number of characters assigned as a value to &SYSIN_DSN. In the CMS example above, the count attribute of &SYSIN_DSN is 20. 4. Throughout the use of a macro definition, the value of &SYSIN_DSN is considered a constant. &SYSIN_MEMBER System Variable Symbol The value of &SYSIN_MEMBER is always null. The value of the type attribute is O, and the value of the count attribute is 0. You can use &SYSIN_MEMBER in a macro definition to obtain the name of the data set member from which the assembler is reading the source module. If concatenated data sets are used to provide the source module, &SYSIN_MEMBER has a value equal to the name of the data set member that contains the macro instruction that calls the definition. The local-scope system variable symbol &SYSIN_MEMBER is assigned a read-only value each time a macro definition is called. 270 HLASM V1R5 Language Reference
&SYSIN_VOLUME System Variable Symbol If the data set from which the assembler is reading the source module is not an MVS partitioned data set or a CMS MACLIB, &SYSIN_MEMBER is assigned a null character string. Notes: 1. If the SOURCE user exit provides the data set information then the value in &SYSIN_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 &SYSIN_MEMBER (T'&SYSIN_MEMBER) is U, unless &SYSIN_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 &SYSIN_MEMBER (K'&SYSIN_MEMBER) is equal to the number of characters assigned as a value to &SYSIN_MEMBER. If &SYSIN_MEMBER is assigned a null character string, the value of the count attribute is 0. 4. Throughout the use of a macro definition, the value of &SYSIN_MEMBER is considered a constant. &SYSIN_VOLUME System Variable Symbol Use &SYSIN_VOLUME in a macro definition to obtain the volume identifier of the first volume containing the data set from which the assembler is reading the source module. If concatenated data sets are used to provide the source module, &SYSIN_VOLUME has a value equal to the volume identifier of the first volume containing the data set that contains the macro call instruction. The local-scope system variable symbol &SYSIN_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 source module is being read from a Shared File System CMS file, &SYSIN_VOLUME is assigned the value SFS. If the volume on which the input data set resides is not labeled, &SYSIN_VOLUME is assigned a null character string. Notes: 1. If the SOURCE user exit provides the data set information then the value in &SYSIN_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 &SYSIN_VOLUME (T'&SYSIN_VOLUME) is U, unless &SYSIN_VOLUME 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 &SYSIN_VOLUME (K'&SYSIN_VOLUME) is equal to the number of characters assigned as a value to &SYSIN_VOLUME. If &SYSIN_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. 4. Throughout the use of a macro definition, the value of &SYSIN_VOLUME is considered a constant. Chapter 7. How to Specify Macro Definitions 271
- Page 240 and 241: USING Instruction Base Registers fo
- Page 242 and 243: USING Instruction If register 0 is
- Page 244 and 245: USING Instruction A variable symbo
- Page 246 and 247: USING Instruction In this MVC instr
- Page 248 and 249: USING Instruction Range of a Depend
- Page 250 and 251: XATTR Instruction external_symbol i
- Page 252 and 253: XATTR Instruction SCOPE ►►─
- Page 254 and 255: XATTR Instruction 234 HLASM V1R5 La
- Page 256 and 257: Part 3. Macro Language &SYSDATC Sys
- 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 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 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
&SYSIN_VOLUME System Variable Symbol<br />
If the data set from which the assembler is reading the source module is not an<br />
MVS partitioned data set or a CMS MACLIB, &SYSIN_MEMBER is assigned a null<br />
character string.<br />
Notes:<br />
1. If the SOURCE user exit provides the data set information then the value in<br />
&SYSIN_MEMBER is the value extracted from the Exit-Specific Information<br />
block described in the <strong>HLASM</strong> Programmer's Guide.<br />
2. The value of the type attribute of &SYSIN_MEMBER (T'&SYSIN_MEMBER) is<br />
U, unless &SYSIN_MEMBER is assigned a null character string, in which case<br />
the value of the type attribute is O.<br />
3. The value of the count attribute of &SYSIN_MEMBER (K'&SYSIN_MEMBER)<br />
is equal to the number of characters assigned as a value to<br />
&SYSIN_MEMBER. If &SYSIN_MEMBER is assigned a null character string,<br />
the value of the count attribute is 0.<br />
4. Throughout the use of a macro definition, the value of &SYSIN_MEMBER is<br />
considered a constant.<br />
&SYSIN_VOLUME System Variable Symbol<br />
Use &SYSIN_VOLUME in a macro definition to obtain the volume identifier of the<br />
first volume containing the data set from which the assembler is reading the source<br />
module.<br />
If concatenated data sets are used to provide the source module,<br />
&SYSIN_VOLUME has a value equal to the volume identifier of the first volume<br />
containing the data set that contains the macro call instruction.<br />
The local-scope system variable symbol &SYSIN_VOLUME is assigned a read-only<br />
value each time a macro definition is called.<br />
If the assembler runs on the CMS component of the VM operating<br />
system, and the source module is being read from a Shared File System CMS file,<br />
&SYSIN_VOLUME is assigned the value SFS.<br />
If the volume on which the input data set resides is not labeled, &SYSIN_VOLUME<br />
is assigned a null character string.<br />
Notes:<br />
1. If the SOURCE user exit provides the data set information then the value in<br />
&SYSIN_VOLUME is the value extracted from the Exit-Specific Information<br />
block described in the <strong>HLASM</strong> Programmer's Guide.<br />
2. The value of the type attribute of &SYSIN_VOLUME (T'&SYSIN_VOLUME) is<br />
U, unless &SYSIN_VOLUME is assigned a null character string, in which case<br />
the value of the type attribute is O.<br />
3. The value of the count attribute of &SYSIN_VOLUME (K'&SYSIN_VOLUME) is<br />
equal to the number of characters assigned as a value to &SYSIN_VOLUME. If<br />
&SYSIN_VOLUME is assigned a null character string, the value of the count<br />
attribute is 0. The maximum length of this system variable symbol is 6.<br />
4. Throughout the use of a macro definition, the value of &SYSIN_VOLUME is<br />
considered a constant.<br />
Chapter 7. How to Specify Macro Definitions 271