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


Format of a macro definition

HLASM Language Reference
SC26-4940-06

The general format of a macro definition is shown in Figure 1. The four parts are described in detail in the following sections.
Figure 1. Format of a macro definition
┌─────────────────────────────────────────────────┐
│  ┌───────────────────────────────────────────┐  │
│  │         MACRO          Header statement   │  │
│  └───────────────────────────────────────────┘  │
│  ┌───────────────────────────────────────────┐  │
│  │         ANYNAME        Prototype statement│  │
│  └───────────────────────────────────────────┘  │
│  ┌───────────────────────────────────────────┐  │
│  │                                           │  │
│  │                        Body of macro      │  │
│  │                                           │  │
│  └───────────────────────────────────────────┘  │
│  ┌───────────────────────────────────────────┐  │
│  │         MEND           Trailer statement  │  │
│  └───────────────────────────────────────────┘  │
└─────────────────────────────────────────────────┘

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014