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


Body of a macro definition

HLASM Language Reference
SC26-4940-06

The body of a macro definition contains the sequence of statements that constitutes the working part of a macro. You can specify:
  • Model statements to be generated
  • Processing statements that, for example, can alter the content and sequence of the statements generated or issue error messages
  • Comment statements, some that are generated and others that are not
  • Conditional assembly instructions to compute results to be displayed in the message created by the MNOTE instruction, without causing any assembler language statements to be generated

The statements in the body of a macro definition must appear between the macro prototype statement and the MEND statement of the definition. The body of a macro definition can be empty, that is, contain no statements.

Nesting Macros: You can include macro definitions in the body of a macro definition.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014