Remove Exit Program (RMVEXITPGM)

Where allowed to run: All environments (*ALL)
Threadsafe: Yes
Parameters
Examples
Error messages

The Remove Exit Program (RMVEXITPGM) command removes an exit program entry for a specific exit point that is registered or unregistered. An unregistered exit point is an exit point that the registration facility created in the absence of an exit point at the time an exit program was added.

Top

Parameters

Keyword Description Choices Notes
EXITPNT Exit point Simple name Required, Positional 1
FORMAT Exit point format Simple name Required, Positional 2
PGMNBR Program number 1-2147483647, *ALL Required, Positional 3
Top

Exit point (EXITPNT)

Specifies the name of an existing exit point for which the exit program is being removed.

Top

Exit point format (FORMAT)

Specifies the name of the exit point format of the exit program that is being removed.

Top

Program number (PGMNBR)

Specifies the program number of the exit program being removed.

The possible values are:

*ALL
Remove all exit programs for the specified exit point format (FORMAT parameter) from the specified exit point (EXITPNT parameter).
program-number
Remove the exit program associated with the specified program number.
Top

Examples

RMVEXITPGM   EXITPNT(USER_EXIT_ONE)  FORMAT(EXIT1)  PGMNBR(1)

This command removes the exit program for exit point USER_EXIT_ONE that was added with program sequence number 1 for exit point format EXIT1.

Top

Error messages

None

Top