IMACRO—Specify an Initial Macro

The IMACRO primary command saves the name of an initial macro in the current edit profile.

See Initial macros for more information on creating and using initial macros.

Syntax

Read syntax diagramSkip visual syntax diagramIMACROnameNONE
name
The name of the initial macro to be run when you are editing the data set type that matches the current edit profile. This macro is run before any data appears.

For more information about displaying and defining a profile, see Displaying or defining an edit profile.

NONE
Indicates that no macro is to be run at the beginning of each edit session. The edit profile shows a value of NONE when no initial macro has been specified.

Examples

To save STARTUP as the initial macro, type:
IMACRO STARTUP
To reset the profile with no initial macro, type:
IMACRO NONE