Display of overrides
You can use the Display Override (DSPOVR) command to display file overrides at the job level, the activation group level, and at multiple call levels for a job. You can display all file overrides or overrides for a specific file.
The file overrides can be merged before being displayed. A merged override is the result of combining overrides from the job level to the current level or any specified call level, producing a composite override which will be applied when the file is used at the specific call level. The current call level is the call level of the program that is currently running. This program is the last program name that is displayed on the call stack. This command can be requested from either a batch or interactive environment. You can also access this function from option 15 (Display file overrides) from the Work with Job menu (using the WRKJOB command) or by selecting option 15 (Display file overrides) from the Display Job menu (using the DSPJOB command).
- Example: Displaying all overrides for a specific activation group
You can use the DSPOVR command to display all overrides for a specific activation group. Here is an example.
- Example: Displaying merged file overrides for one file
You can specify *YES for the MRGOVR parameter of the DSPOVR command to display merged file overrides for one file. Here is an example.
- Example: Displaying all file overrides for one file
You can specify *NO for the MRGOVR parameter, and specify a specific call level for the LVL parameter to display all file overrides for one file. Here is an example.
- Example: Displaying merged file overrides for all files
You can specify *YES for the MRGOVR parameter, and specify * for the LVL parameter to display merged file overrides for all files. Here is an example.
- Example: Displaying overrides with WRKJOB
When overrides are displayed through an option on one of the system interfaces to work with jobs (for example, WRKJOB) instead of by the DSPOVR command, all file overrides from the job level to the current call level are displayed.
- Example: Displaying overrides
This example is intended only to illustrate what the various forms of the display override command can do.
- Tips about displaying overrides
Here are some tips you might use when you display overrides.
Parent topic:
Overrides
Related information
DSPOVR command