Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF
MEXIT instruction HLASM Language Reference SC26-4940-06 |
|
The MEXIT instruction provides an exit for the assembler from any point in the body of a macro definition. The MEND instruction provides an exit only from the end of a macro definition (see MEND statement for details). The MEXIT instruction statement can be used only inside macro definitions.
>>-+-----------------+--MEXIT---------------------------------->< '-sequence_symbol-'
The MEXIT instruction causes the assembler to exit from a macro definition to the next sequential instruction after the macro instruction that calls the definition. (This also applies to nested macro instructions, which are described in Nesting macro instruction definitions.) For example, the following macro definition contains an MEXIT statement:
When this macro definition is called, these statements are generated:
|
Copyright IBM Corporation 1990, 2014
|