Command reference / prog
RMVPGM
Remove Program
The Remove Program (RMVPGM) command removes one or more programs from the current debugging session. All breakpoints and traces defined in each program are removed, and the programs are returned to their normal state. If a program is added again, breakpoints and traces must be specified again.
Allowed environments: *ALL.
Positional parameters: 1.
Restrictions
- You can use this command only in debug mode. To start debug mode, refer to the Start Debug (STRDBG) command.
- You cannot use this command to remove bound programs from a debugging session.
Parameters
PGM
Program
Specifies which programs are removed from the current debugging session.
Suggested / special values:
*DFTPGM, *ALL
*DFTPGM- The program currently specified as the default program in the debugging session is the program to be removed. The debugging session no longer has a default program unless one is specified later.
*ALL- All the programs that are currently in debug mode are removed.
name- Specify the name of the program to be removed from the current debugging session.
Examples
RMVPGM PGM(PGMX PGMY PGMZ)
This command removes the three programs PGMX, PGMY, and PGMZ from the current debugging session. All breakpoints and data traces are removed from the programs.
Generated from os/cl/catalog/RMVPGM.json and os/cl/help/RMVPGM.json.