When you use the following save commands or API you can direct output to an output file.
The following topics describe the output information that these commands create. To specify an output file, you must have *CHANGE authority to the database file and *USE authority to the library. The server needs an *EXCLRD lock on the database file. Click the command above that applies to the information that you would like to save. The control language (CL) provides descriptions for the three parameters that allow you to direct save output to an output file: File to receive output (OUTFILE), Output member options (OUTMBR), and Type of output information (INFTYPE).