RMVPGM (Remove Program)
Purpose
The Remove Program (RMVPGM) command removes one or more programs from the current debugging session. All breakpoints and data 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.
Restrictions
- This command is valid only in the debug mode. To start the debug mode, refer to the STRDBG (Start Debug) command.
- This command cannot be used to remove bound programs from a debugging session.
Optional Parameters
- PGM
- Specifies which programs are removed from the current debugging session.
*DFTPGM: The program currently specified as the default program in the debugging session is removed. The debugging session no longer has a default program unless one is specified later.
*ALL: All programs currently in the debug mode are removed.
program-name: Specify the names of up to 20 programs being removed from the current debugging session.
Example for RMVPGM
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.
Error messages for RMVPGM
*ESCAPE Messages
- CPF1999
- Errors occurred on command.