11.07.2015 Views

HLASM: V1R6 Language Ref

HLASM: V1R6 Language Ref

HLASM: V1R6 Language Ref

SHOW MORE
SHOW LESS
  • No tags were found...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Other conditional assembly instructionsInner Macro Instruction Operation DoneAINSERT Insert statement into input streamAREAD Assign an arbitrary character string to a variablesymbol (SETC symbol)ASPACE Insert one or more blank lines in listingCOPY Copy the source statements from a source languagelibrary member.MEXIT Exit from the macro definitionAEJECTinstructionUse the AEJECT instruction to stop the printing of the assembler listing of yourmacro definition on the current page, and continue the printing on the next page.►►sequence_symbolAEJECT►◄sequence_symbolis a sequence symbol.The AEJECT instruction causes the next line of the assembly listing of your macrodefinition to be printed at the top of a new page. If the line before the AEJECTstatement appears at the bottom of a page, the AEJECT statement has no effect. AnAEJECT instruction immediately following another AEJECT instruction causes ablank page in the listing of the macro definition.Notes:AINSERTAREAD1. The AEJECT instruction can only be used inside a macro definition.2. The AEJECT instruction itself is not printed in the listing.3. The AEJECT instruction does not affect the listing of statements generatedwhen the macro is called.instructionThe AINSERT instruction, inside macro definitions, harnesses the power of macrosto generate source statements, for instance, using variable substitution. Generatedstatements are queued in a special buffer and read after the macro generatorfinishes.The specifications for the AINSERT instruction, which can also be used in opencode, are described in “AINSERT instruction” on page 106.instructionThe AREAD instruction assigns an arbitrary character string value to a SETCsymbol.The AREAD instruction has two formats. The first format lets you assign to aSETC symbol the character string value of a statement that is placed immediatelyafter a macro instruction.254 <strong>HLASM</strong>: <strong>V1R6</strong> <strong>Language</strong> <strong>Ref</strong>

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

Saved successfully!

Ooh no, something went wrong!