Create a source file using the Create Source Physical File (CRTSRCPF) command

This example shows how to create a source file using the Create Source Physical File (CRTSRCPF) command and using the command defaults.

CRTSRCPF FILE(QGPL/FRSOURCE) TEXT('Source file')

The CRTSRCPF command creates a physical file, but with attributes appropriate for source physical files. For example, the default record length for a source file is 92 (80 for the source data field, 6 for the source sequence number field, and 6 for the source date field).

Related reference
Create Source Physical File (CRTSRCPF) command