Where allowed to run: All environments (*ALL) Threadsafe: Conditional |
Parameters Examples Error messages |
The Delete Override (DLTOVR) command deletes one or more file overrides (including message file overrides) that were previously specified in a call level. For each overridden file named in the DLTOVR command, the override specified in the same call level as the DLTOVR command is deleted. When the command is specified interactively or outside a program in a batch job, the file overrides for the call level are deleted; when the command is used in a CL program, the file overrides for that program call level are deleted. A file override is the result of an override file command.
The DLTOVR command can delete all the file overrides for all the files in the same call level or the file overrides for specified files in the same call level. Only the file overrides in the call level in which the command is specified are deleted. For example, if an override command is specified in one program in a routing step, and then another program is called that also contains override commands, a DLTOVR command specified in the second program can delete only overrides that occur in that program. The DLTOVR command has no effect on the override command that was specified before the program was called. The deleted file overrides have no effect on subsequent uses of the file.
Restrictions:
Top |
Keyword | Description | Choices | Notes |
---|---|---|---|
FILE | Overridden file | Single values: *ALL Other values (up to 50 repetitions): Name, *PRTF |
Required, Positional 1 |
LVL | Call level | *ACTGRPDFN, *, *JOB | Optional |
Top |
Specifies the names of the overridden files in the call level whose file overrides are deleted.
Single values
Other values (up to 50 repetitions)
Top |
Specifies the call level of the file overrides deleted. There is a one-to-one correspondence between the call stack entries shown on the call stack from the Work with Job (WRKJOB) command and the call level for that call stack entry.
The first call stack entry name on the call stack (at the top of the list) is the call program or procedure at call level one. The second call stack entry name is the program or procedure at call level two. The last call stack entry name is the program or procedure at the highest call level for the job.
Top |
Example 1: Deleting Call Level Overrides
:
If the first three override commands had been specified earlier in the call level, the files B, D, and F would override files A, C, and E. The fourth command deletes only the file overrides that affect files A and C. The last command deletes all the file overrides that exist in the call level, which in this case is the command overriding file E, the third command.
Top |
*ESCAPE Messages
Top |