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

Read syntax diagramSkip visual syntax diagramBUILTINcmdname
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:

  1. On the command line, type:
    BUILTIN cmdname
    where cmdname is the name of a primary command.
  2. Press Enter. The edit primary command is processed.

Examples

This example shows a practical application of BUILTIN command usage.

  1. 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.
  2. To run your MACEND macro, enter:
    END
  3. To end the edit session without redefining END, use BUILTIN, as follows:
    BUILTIN END
    This command issues ISPF's built-in END command instead of your MACEND macro.