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


CEJECT instruction

HLASM Language Reference
SC26-4940-06

The CEJECT instruction conditionally stops the printing of the assembler listing on the current page, and continues the printing on the next page.
Read syntax diagramSkip visual syntax diagram
>>-+-----------------+--CEJECT--+-----------------+------------><
   '-sequence_symbol-'          '-number_of_lines-'   

sequence_symbol
Is a sequence symbol.
number_of_lines
Is an absolute value that specifies the minimum number of lines that must be remaining on the current page to prevent a page eject. If the number of lines remaining on the current page is less than the value specified by number_of_lines, the next line of the assembler listing is printed at the top of a new page.

You can use any absolute expression to specify number_of_lines.

If number of lines is omitted, the CEJECT instruction behaves as an EJECT instruction.

If zero, a page is ejected unless the current line is at the top of a page.

If the line before the CEJECT statement appears at the bottom of a page, the CEJECT statement has no effect. A CEJECT instruction without an operand immediately following another CEJECT instruction or an EJECT instruction is ignored.
Notes:
  1. The CEJECT statement itself is not printed in the listing unless a variable symbol is specified as a point of substitution in the statement, in which case the statement is printed before substitution occurs.
  2. The PRINT DATA and PRINT NODATA instructions can alter the effect of the CEJECT instruction, depending on the number of assembler listing lines that are required to print the generated object code for each instruction.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014