Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF
&SYSLOC System Variable Symbol HLASM Language Reference SC26-4940-06 |
|
Use &SYSLOC in a macro definition to generate the name of the location counter in effect. If you have not coded a LOCTR instruction between the macro instruction and the preceding START, CSECT, RSECT, DSECT, or COM instruction, the value of &SYSLOC is the same as the value of &SYSECT. The assembler assigns to the system variable symbol &SYSLOC a local read-only value each time a macro definition containing it is called. The value assigned is the symbol representing the name of the location counter in use at the point where the macro is called. &SYSLOC can only be used in macro definitions; it has local
scope.
Notes:
|
Copyright IBM Corporation 1990, 2014
|