Example: Display all file overrides for one file

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.

Related information
Control language (CL)