The OUTFILE parameter is used on such commands as the Display File Description (DSPFD), the Display File Field Description (DSPFFD), the Display Object Description (DSPOBJD), and the Create Auto Report Program (CRTRPTPGM). The parameter identifies a database file into which output data created by the command is stored.
When the name of a DDM file is specified on the OUTFILE parameter of these commands, two restrictions apply:
If the remote file named on the OUTFILE parameter does exist and is on an iSeries server or a System/38, the file will be checked for three conditions before it can be used as an output database file to store displayed output:
If all of these conditions are met, the remote file member is cleared. (Output file members must be cleared before they can be used again.) If the remote file member does not exist, it is created and the output is stored in it.