HLASM Language Reference
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


&SYSSTMT System Variable Symbol

HLASM Language Reference
SC26-4940-06

Use &SYSSTMT to obtain the next statement number that is assigned to a statement by the assembler. &SYSSTMT has a global scope.

The value assigned to &SYSSTMT is an 8-character string, padded on the left with leading zero (X'F0') characters. The following example shows the value assigned to &SYSSTMT. It assumes that the DC statement is in open code, and is the 23rd statement in the source module.
23          DC    C'&SYSSTMT'
  +         DC    C'00000024'
Notes:
  1. The value of the type attribute of &SYSSTMT (T'&SYSSTMT) is always N.
  2. The value of the count attribute of &SYSSTMT (K'&SYSSTMT) is always 8.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014