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. To display all file overrides for a specific file up to a specific call level, you type:
DSPOVR FILE(REPORTS) MRGOVR(*NO) LVL(2)This command produces a display that shows the file name, the call level for which the override was requested, the type of override, and the override parameters in keyword-parameter form. If no file overrides are found for the file up to and including the specified call level, escape message CPF9842 is sent. If you are using DSPOVR in a CL program, you might want to add a MONMSG command following the DSPOVR command to prevent your program from ending if there are no overrides for the file. This technique is illustrated in some of the examples later in this chapter.
Parent topic:
Display of overrides
Related information
Control language (CL)