HLASM Language Reference
HLASM Language Reference HLASM Language Reference
&SYSADATA_MEMBER System Variable Symbol When the assembler runs on the CMS component of the VM operating systems, the value of the character string assigned to &SYSADATA_DSN is determined as follows: Figure 66. Contents of &SYSADATA_DSN on CMS SYSADATA Allocated To: CMS file Dummy file (no physical I/O) Labeled tape file Contents of &SYSADATA_DSN: The 8-character filename, the 8-character filetype, and the 2-character filemode of the file, each separated by a space DUMMY 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. For example, &SYSADATA_DSN might be assigned a value such as: SAMPLE SYSADATA A1 The value of the character string assigned to &SYSADATA_DSN is the file id from the SYSADAT dlbl. For example, &SYSADATA_DSN might be assigned a value such as: MYDATA Notes: 1. The value of the type attribute of &SYSADATA_DSN (T'&SYSADATA_DSN) is always U. 2. The value of the count attribute of &SYSADATA_DSN (K'&SYSADATA_DSN) is equal to the number of characters assigned as a value to &SYSADATA_DSN. In the CMS example above, the count attribute of &SYSADATA_DSN is 20. &SYSADATA_MEMBER System Variable Symbol The value of &SYSADATA_MEMBER is always null. The value of the type attribute is O, and the value of the count attribute is 0. You can use &SYSADATA_MEMBER in a macro definition to obtain the name of the data set member to which the assembler is writing the associated data. The local-scope system variable symbol &SYSADATA_MEMBER is assigned a read-only value each time a macro definition is called. 264 HLASM V1R5 Language Reference
&SYSADATA_VOLUME System Variable Symbol If the data set to which the assembler is writing the associated data is not an MVS partitioned data set, &SYSADATA_MEMBER is assigned a null character string. Notes: 1. The value of the type attribute of &SYSADATA_MEMBER (T'&SYSADATA_MEMBER) is U, unless &SYSADATA_MEMBER is assigned a null character string, in which case the value of the type attribute is O. 2. The value of the count attribute of &SYSADATA_MEMBER (K'&SYSADATA_MEMBER) is equal to the number of characters assigned as a value to &SYSADATA_MEMBER. If &SYSADATA_MEMBER is assigned a null character string, the value of the count attribute is 0. &SYSADATA_VOLUME System Variable Symbol Use &SYSADATA_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 associated data. The local-scope system variable symbol &SYSADATA_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 associated data is being written to a Shared File System CMS file, &SYSADATA_VOLUME is assigned the value SFS. If the volume on which the data set resides is not labeled, &SYSADATA_VOLUME is assigned a null character string. Notes: 1. The value of the type attribute of &SYSADATA_VOLUME (T'&SYSADATA_VOLUME) is U, unless &SYSADATA_VOLUME is assigned a null character string, in which case the value of the type attribute is O. 2. The value of the count attribute of &SYSADATA_VOLUME (K'&SYSADATA_VOLUME) is equal to the number of characters assigned as a value to &SYSADATA_VOLUME. If &SYSADATA_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. &SYSASM System Variable Symbol Use &SYSASM to obtain the name of the assembler being used to assemble your source module. &SYSASM has a global scope. For example, when IBM High Level Assembler for MVS & VM & VSE is used, &SYSASM has the value: HIGH LEVEL ASSEMBLER Notes: 1. The value of the type attribute of &SYSASM (T'&SYSASM) is always U. 2. The value of the count attribute (K'&SYSASM) is the number of characters assigned. In the above example, the count attribute of &SYSASM is 20. Chapter 7. How to Specify Macro Definitions 265
- Page 234 and 235: START Instruction START Instruction
- Page 236 and 237: TITLE Instruction The name value is
- Page 238 and 239: USING Instruction Only the characte
- 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 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 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
&SYSADATA_VOLUME System Variable Symbol<br />
If the data set to which the assembler is writing the associated data is not an MVS<br />
partitioned data set, &SYSADATA_MEMBER is assigned a null character string.<br />
Notes:<br />
1. The value of the type attribute of &SYSADATA_MEMBER<br />
(T'&SYSADATA_MEMBER) is U, unless &SYSADATA_MEMBER is assigned a<br />
null character string, in which case the value of the type attribute is O.<br />
2. The value of the count attribute of &SYSADATA_MEMBER<br />
(K'&SYSADATA_MEMBER) is equal to the number of characters assigned as<br />
a value to &SYSADATA_MEMBER. If &SYSADATA_MEMBER is assigned a<br />
null character string, the value of the count attribute is 0.<br />
&SYSADATA_VOLUME System Variable Symbol<br />
Use &SYSADATA_VOLUME in a macro definition to obtain the volume identifier of<br />
the first volume containing the data set to which the assembler is writing the<br />
associated data.<br />
The local-scope system variable symbol &SYSADATA_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<br />
system, and the associated data is being written to a Shared File System CMS file,<br />
&SYSADATA_VOLUME is assigned the value SFS.<br />
If the volume on which the data set resides is not labeled, &SYSADATA_VOLUME<br />
is assigned a null character string.<br />
Notes:<br />
1. The value of the type attribute of &SYSADATA_VOLUME<br />
(T'&SYSADATA_VOLUME) is U, unless &SYSADATA_VOLUME is assigned a<br />
null character string, in which case the value of the type attribute is O.<br />
2. The value of the count attribute of &SYSADATA_VOLUME<br />
(K'&SYSADATA_VOLUME) is equal to the number of characters assigned as a<br />
value to &SYSADATA_VOLUME. If &SYSADATA_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 />
&SYSASM System Variable Symbol<br />
Use &SYSASM to obtain the name of the assembler being used to assemble your<br />
source module. &SYSASM has a global scope. For example, when IBM High<br />
Level Assembler for MVS & VM & VSE is used, &SYSASM has the value:<br />
HIGH LEVEL ASSEMBLER<br />
Notes:<br />
1. The value of the type attribute of &SYSASM (T'&SYSASM) is always U.<br />
2. The value of the count attribute (K'&SYSASM) is the number of characters<br />
assigned. In the above example, the count attribute of &SYSASM is 20.<br />
Chapter 7. How to Specify Macro Definitions 265