HLASM Language Reference
HLASM Language Reference HLASM Language Reference
Macro and Conditional Assembly Language Summary Figure 119 (Page 2 of 2). Variable Symbols Variable Symbol SETA SETB SETC Declared by: LCLA or GBLA instruction LCLB or GBLB instruction LCLC or GBLC instruction Notes: 1. Can be used only in macro definitions. Initialized or set to: Value changed by: 0 SETA instruction 0 SETB instruction String of length 0 (null) SETC instruction May be used in: Arithmetic expressions Character expressions Logical expressions Arithmetic expressions Character expressions Logical expressions Arithmetic expressions if value is self-defining term Character expressions Logical expressions if value is self-defining term Figure 120 (Page 1 of 5). System Variable Symbols System Variable Symbol Availability Type Type Attr. Scope Initialized or set to &SYSADATA_DSN HLA2 C U,O L Current associated data file &SYSADATA_MEMBER HLA2 C U,O L Current associated data file member name &SYSADATA_VOLUME HLA2 C U,O L Current associated data file volume identifier Value changed by Constant throughout assembly Constant throughout assembly Constant throughout assembly &SYSASM HLA1 C U G Assembler name Constant throughout assembly &SYSCLOCK HLA3 C U L Current date and time Constant throughout macro expansion &SYSDATC HLA1 C,A N G Assembly date (with century) Constant throughout assembly &SYSDATE AsmH C U G Assembly date Constant throughout assembly &SYSECT All C U L Name of control section in effect where macro instruction appears Constant throughout definition; set by START, CSECT, RSECT, DSECT, or COM May be used in Character expressions Character expressions Character expressions Character expression Character expressions Arithmetic expressions Character expressions Character expressions Character expressions 416 HLASM V1R5 Language Reference
Macro and Conditional Assembly Language Summary Figure 120 (Page 2 of 5). System Variable Symbols System Variable Symbol Availability Type Type Attr. Scope Initialized or set to &SYSIN_DSN HLA1 C U L Current primary input data set name &SYSIN_MEMBER HLA1 C U,O L Current primary input member name &SYSIN_VOLUME HLA1 C U,O L Current primary input volume identifier &SYSJOB HLA1 C U G Source module assembly jobname &SYSLIB_DSN HLA1 C U L Current macro library filename &SYSLIB_MEMBER HLA1 C U,O L Current macro library member name &SYSLIB_VOLUME HLA1 C U,O L Current macro library volume identifier &SYSLIN_DSN HLA2 C U L Current object data set name &SYSLIN_MEMBER HLA2 C U,O L Current object data set member name &SYSLIN_VOLUME HLA2 C U,O L Current object data set volume identifier Value changed by Constant throughout definition Constant throughout definition Constant throughout definition Constant throughout assembly Constant throughout definition Constant throughout definition Constant throughout definition Constant throughout assembly Constant throughout assembly Constant throughout assembly &SYSLIST All C any L Not applicable Not applicable &SYSLIST(n) &SYSLIST(n,m) All C any L Corresponding macro instruction operand &SYSLOC AsmH C U L Location counter in effect where macro instruction appears Constant throughout definition Constant throughout definition; set by START, CSECT, RSECT, DSECT, COM, and LOCTR &SYSMAC HLA3 C U,O L Macro name Constant throughout definition &SYSMAC(n) HLA3 C U,O L Ancestor macro name Constant throughout definition May be used in Character expressions Character expressions Character expressions Character expressions Character expressions Character expressions Character expressions Character expressions Character expressions Character expressions N'&SYSLIST in arithmetic expressions Arithmetic expressions if operand is self-defining term Character expressions Character expressions Arithmetic expressions Arithmetic expressions Appendix C. Macro and Conditional Assembly Language Summary 417
- Page 386 and 387: SETB Instruction | ISDEC | Format:
- Page 388 and 389: SETB Instruction The two comparands
- Page 390 and 391: SETC Instruction Notes: 1. The asse
- Page 392 and 393: Figure 103. Substring Notation in C
- Page 394 and 395: Loc Object Code Addr1 Addr2 Stmt So
- Page 396 and 397: | B2C('111111') has value '3' | B2C
- Page 398 and 399: | Output: D2B('decstring') converts
- Page 400 and 401: SIGNED Format: Logical-expression,
- Page 402 and 403: | X2D('') has value '+' | X2D('91')
- Page 404 and 405: Concatenation of strings containing
- Page 406 and 407: MACRO &NAME MOVE &TO,&FROM LCLC &PR
- Page 408 and 409: SETAF Instruction Alternative State
- Page 410 and 411: Branching Branching You can control
- Page 412 and 413: AGO Instruction The extended AIF in
- Page 414 and 415: ACTR Instruction AGOB—Synonym of
- Page 416 and 417: ANOP Instruction statement processe
- Page 418 and 419: MHELP Instruction MHELP B'10000000'
- Page 420 and 421: 400 HLASM V1R5 Language Reference
- Page 422 and 423: Assembler Instructions and Statemen
- Page 424 and 425: Assembler Instructions and Statemen
- Page 426 and 427: Assembler Instructions and Statemen
- Page 428 and 429: Summary of Constants Figure 113. Su
- Page 430 and 431: Macro and Conditional Assembly Lang
- Page 432 and 433: Macro and Conditional Assembly Lang
- Page 434 and 435: Macro and Conditional Assembly Lang
- Page 438 and 439: Macro and Conditional Assembly Lang
- Page 440 and 441: Macro and Conditional Assembly Lang
- Page 442 and 443: Standard Character Set Code Table H
- Page 444 and 445: Standard Character Set Code Table H
- Page 446 and 447: Trademarks AIX BookMaster CICS DFSM
- Page 448 and 449: Bibliography SMP/E Reference, SC28-
- Page 450 and 451: Index A2C (SETC built-in function)
- Page 452 and 453: Index B B-type binary constant 141
- Page 454 and 455: Index conditional assembly instruct
- Page 456 and 457: Index elements of conditional assem
- Page 458 and 459: Index instructions (continued) asse
- Page 460 and 461: Index machine instruction statement
- Page 462 and 463: Index operands (continued) compatib
- Page 464 and 465: Index relative addressing 67 reloca
- Page 466 and 467: Index sublists compatibility with A
- Page 468: Index variable symbols (continued)
- Page 471 and 472: Readers' Comments High Level Assemb
- Page 474: IBM® Program Number: 5696-234 Prin
Macro and Conditional Assembly <strong>Language</strong> Summary<br />
Figure 120 (Page 2 of 5). System Variable Symbols<br />
System Variable<br />
Symbol<br />
Availability<br />
Type<br />
Type<br />
Attr. Scope Initialized or set to<br />
&SYSIN_DSN HLA1 C U L Current primary input<br />
data set name<br />
&SYSIN_MEMBER HLA1 C U,O L Current primary input<br />
member name<br />
&SYSIN_VOLUME HLA1 C U,O L Current primary input<br />
volume identifier<br />
&SYSJOB HLA1 C U G Source module<br />
assembly jobname<br />
&SYSLIB_DSN HLA1 C U L Current macro library<br />
filename<br />
&SYSLIB_MEMBER HLA1 C U,O L Current macro library<br />
member name<br />
&SYSLIB_VOLUME HLA1 C U,O L Current macro library<br />
volume identifier<br />
&SYSLIN_DSN HLA2 C U L Current object data set<br />
name<br />
&SYSLIN_MEMBER HLA2 C U,O L Current object data set<br />
member name<br />
&SYSLIN_VOLUME HLA2 C U,O L Current object data set<br />
volume identifier<br />
Value<br />
changed<br />
by<br />
Constant<br />
throughout<br />
definition<br />
Constant<br />
throughout<br />
definition<br />
Constant<br />
throughout<br />
definition<br />
Constant<br />
throughout<br />
assembly<br />
Constant<br />
throughout<br />
definition<br />
Constant<br />
throughout<br />
definition<br />
Constant<br />
throughout<br />
definition<br />
Constant<br />
throughout<br />
assembly<br />
Constant<br />
throughout<br />
assembly<br />
Constant<br />
throughout<br />
assembly<br />
&SYSLIST All C any L Not applicable Not<br />
applicable<br />
&SYSLIST(n)<br />
&SYSLIST(n,m)<br />
All C any L Corresponding macro<br />
instruction operand<br />
&SYSLOC AsmH C U L Location counter in<br />
effect where macro<br />
instruction appears<br />
Constant<br />
throughout<br />
definition<br />
Constant<br />
throughout<br />
definition;<br />
set by<br />
START,<br />
CSECT,<br />
RSECT,<br />
DSECT,<br />
COM,<br />
and<br />
LOCTR<br />
&SYSMAC HLA3 C U,O L Macro name Constant<br />
throughout<br />
definition<br />
&SYSMAC(n) HLA3 C U,O L Ancestor macro name Constant<br />
throughout<br />
definition<br />
May be used in<br />
Character expressions<br />
Character expressions<br />
Character expressions<br />
Character expressions<br />
Character expressions<br />
Character expressions<br />
Character expressions<br />
Character expressions<br />
Character expressions<br />
Character expressions<br />
N'&SYSLIST in<br />
arithmetic expressions<br />
Arithmetic expressions if<br />
operand is self-defining<br />
term<br />
Character expressions<br />
Character expressions<br />
Arithmetic expressions<br />
Arithmetic expressions<br />
Appendix C. Macro and Conditional Assembly <strong>Language</strong> Summary 417