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'
[ Top of Page | Previous Page | Next Page | Contents | Index ]