Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF
&SYSMAC System Variable Symbol HLASM Language Reference SC26-4940-06 |
|
By varying the subscripts attached to the &SYSMAC you can refer to the name of any of the macros called between open code and the current nesting level, that is, &SYSMAC(&SYSNEST) returns 'OPEN CODE'. Valid subscripts are 0 to &SYSNEST. If &SYSMAC is used with a subscript greater than &SYSNEST, a null character string is returned. &SYSMAC with no subscript is treated as &SYSMAC(0) and so provides the name of the macro being expanded. This is not considered to be an error and so no message is issued. The local-scope system variable symbol &SYSMAC is assigned
a read-only value each time a macro definition is called.
Notes:
|
Copyright IBM Corporation 1990, 2014
|