BUILTIN—Process a Built-In Command
You can use the BUILTIN primary command with edit macros and the DEFINE command to process a built-in edit primary command, even if a macro has been defined with the same name.
Syntax
- cmdname
- The built-in command to be processed.
Description
To process a built-in primary command instead of a command with the same name that has been defined as an alias:
- On the command line, type:
where cmdname is the name of a primary command.BUILTIN cmdname
- Press Enter. The edit primary command is processed.
Examples
This example shows a practical application of BUILTIN command usage.
- You have a macro named MACEND that you have created. You want
to run your MACEND macro instead of ISPF's built-in END command. Enter
this command:
DEFINE END ALIAS MACEND
Note: If the END command is issued in your MACEND macro without being preceded by the BUILTIN macro command, the MACEND macro would be run again, resulting in a loop. - To run your MACEND macro, enter:
END
- To end the edit session without redefining END, use BUILTIN, as
follows:
This command issues ISPF's built-in END command instead of your MACEND macro.BUILTIN END