CL Command Reference - DLTOVRDEVE
CL Command List > DLTOVRDEVE Reference
Description:
The Delete Override Device Entry (DLTOVRDEVE) command deletes one or more program device overrides that were previously specified in a call level.
For each overridden program device named in the DLTOVRDEVE command, the override specified in the same call level as the DLTOVRDEVE command is deleted. When the command is entered interactively or outside a program in a batch job, the program device overrides for the call level are deleted; when the command is used in a CL program, the program device overrides for that program call level are deleted. A program device override is the result of an override program device command Override Intersystem Communications Function Device Entry (OVRICFDEVE).
The DLTOVRDEVE command can delete all the program device overrides in the same call level, or it can delete a specific program device override in the same call level. Only the call level in which the command is entered has its program device overrides deleted. For example, if an override command is entered in one program in a routing step, and then another program is called that also contains override commands, a DLTOVRDEVE command entered in the second program can delete only overrides that occurred in that program. The DLTOVRDEVE command has no effect on the override command that was entered before the program was called. The deleted program device override has no effect on subsequent uses of the program device.
Examples:
Example 1: Deleting Program Device Overrides With Calling Program in Default Activation Group
DLTOVRDEVE PGMDEV(*ALL)
This command deletes all program device overrides that exist in the call level, when the calling program runs in the default activation group. When the calling program runs in an activation group other than the default activation group, the program device overrides that are scoped to that activation group are deleted.
Example 2: Deleting Program Device Overrides With Calling Program in Any Activation Group
DLTOVRDEVE PGMDEV(*ALL) LVL(*)
This command deletes all program device overrides that exist in the call level, regardless of the activation group the calling program runs in.