Defining Macros › NCL Procedures as Macros
NCL Procedures as Macros
A typical NCL procedure to be used as a macro must have the following features:
- Contain a brief description of the purpose of the procedure.
- Display panels that allow users to browse or change certain parameters used by the procedure. These parameters are displayed when a user applies the P (Parameters) action.
- Perform the required function when a process executes the macro.
- Return a code that a user can test to determine what the processing requirements are for later process steps.
The following macro template procedures are provided in CC2DEXEC for you to customize to suit your requirements:
- $RMMC00S, which executes macro actions
- $RMMC00D, which handles parameter definitions