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.

AEJECT Instruction<br />

AEJECT Instruction<br />

Use the AEJECT instruction to stop the printing of the assembler listing of your<br />

macro definition on the current page, and continue the printing on the next page.<br />

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

└─sequence_symbol─┘<br />

sequence_symbol<br />

is a sequence symbol.<br />

The AEJECT instruction causes the next line of the assembly listing of your macro<br />

definition to be printed at the top of a new page. If the line before the AEJECT<br />

statement appears at the bottom of a page, the AEJECT statement has no effect.<br />

An AEJECT instruction immediately following another AEJECT instruction causes a<br />

blank page in the listing of the macro definition.<br />

Notes:<br />

1. The AEJECT instruction can only be used inside a macro definition.<br />

2. The AEJECT instruction itself is not printed in the listing.<br />

3. The AEJECT instruction does not affect the listing of statements generated<br />

when the macro is called.<br />

AINSERT Instruction<br />

The AINSERT instruction, inside macro definitions, harnesses the power of macros<br />

to generate source statements, for instance, using variable substitution. Generated<br />

statements are queued in a special buffer and read after the macro generator<br />

finishes.<br />

The specifications for the AINSERT instruction, which can also be used in open<br />

code, are described in “AINSERT Instruction” on page 108.<br />

AREAD Instruction<br />

The AREAD instruction assigns an arbitrary character string value to a SETC<br />

symbol.<br />

The AREAD instruction has two formats. The first format lets you assign to a<br />

SETC symbol the character string value of a statement that is placed immediately<br />

after a macro instruction.<br />

The AREAD instruction can only be used inside macro definitions.<br />

Assign Character String Value<br />

►►──SETC_symbol──AREAD──┬─────────┬────────────────────────────────►◄<br />

├─NOPRINT─┤<br />

└─NOSTMT──┘<br />

The second format of the AREAD instruction assigns to a SETC symbol a character<br />

string containing the local time.<br />

Chapter 7. How to Specify Macro Definitions 257

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

Saved successfully!

Ooh no, something went wrong!