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


MEND statement

HLASM Language Reference
SC26-4940-06

Use the MEND statement to indicate the end of a macro definition. It also provides an exit when it is processed during macro expansion. It can appear only once within a macro definition and must be the last statement in every macro definition.
Read syntax diagramSkip visual syntax diagram
>>-+-----------------+--MEND-----------------------------------><
   '-sequence_symbol-'         

sequence_symbol
Is a sequence symbol.

See MEXIT instruction for details on exiting from a macro before the MEND statement.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014