22.02.2015 Views

HLASM Language Reference

HLASM Language Reference

HLASM Language Reference

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

CEJECT Instruction<br />

If symbol is an ordinary symbol or a variable symbol that has been assigned an<br />

ordinary symbol, the ordinary symbol is assigned the value of the address of the<br />

first byte of the generated channel command word. The length attribute value of<br />

the symbol is 8.<br />

The following is an example of a CCW1 statement:<br />

A CCW1 X'C',BUF1,X'',L'BUF1<br />

The object code generated (in hexadecimal) for the above examples is:<br />

C yyyy xxxxxxxx<br />

where yyyy is the length of BUF1 and xxxxxxxx is the address of BUF1.<br />

reside anywhere in virtual storage.<br />

BUF1 can<br />

CEJECT Instruction<br />

The CEJECT instruction conditionally stops the printing of the assembler listing on<br />

the current page, and continues the printing on the next page.<br />

►►──┬─────────────────┬──CEJECT──┬─────────────────┬───────────────►◄<br />

└─sequence_symbol─┘<br />

└─number_of_lines─┘<br />

sequence_symbol<br />

is a sequence symbol.<br />

number_of_lines<br />

is an absolute value that specifies the minimum number of lines that must be<br />

remaining on the current page to prevent a page eject. If the number of lines<br />

remaining on the current page is less than the value specified by<br />

number_of_lines, the next line of the assembler listing is printed at the top of a<br />

new page.<br />

You may use any absolute expression to specify number_of_lines.<br />

If number of lines is omitted, the CEJECT instruction behaves as an EJECT<br />

instruction.<br />

If zero, a page is ejected unless the current line is at the top of a page.<br />

If the line before the CEJECT statement appears at the bottom of a page, the<br />

CEJECT statement has no effect. A CEJECT instruction without an operand<br />

immediately following another CEJECT instruction or an EJECT instruction is<br />

ignored.<br />

Notes:<br />

1. The CEJECT statement itself is not printed in the listing unless a variable<br />

symbol is specified as a point of substitution in the statement, in which case the<br />

statement is printed before substitution occurs.<br />

2. The PRINT DATA and PRINT NODATA instructions can alter the effect of the<br />

CEJECT instruction, depending on the number of assembler listing lines that<br />

are required to print the generated object code for each instruction.<br />

118 <strong>HLASM</strong> V1R5 <strong>Language</strong> <strong>Reference</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!