Source file commands

If the target server is an iSeries™ server or a System/38™, these CL commands can support a DDM file as a source file (on the SRCFILE parameter).

If the target server is not an iSeries server or a System/38, a DDM file name should not be specified on the SRCFILE parameter, because the remote file is neither an iSeries server nor a System/38 source file.

These commands can also be affected by file overrides (by using the Override with Database File [OVRDBF] command).

Note: These commands cannot run on the source server to create a file on any target server; they can, however, be submitted to run on the target server using the Submit Remote Command (SBMRMTCMD) command.
Command name Descriptive name
CRTBASPGM Create BASIC Program
CRTBSCF1 Create BSC File
CRTCBLPGM Create COBOL Program
CRTCLPGM Create CL Program
CRTCMD Create Command
CRTCMNF1 Create Communications File
CRTCPGM Create C Program
CRTDSPF Create Display File
CRTICFF Create Intersystem Communications Function File1
CRTMXDF2 Create Mixed File
CRTPLIPGM Create PL/I Program
CRTPRTF Create Printer File
CRTPRTIMG2 Create Print Image
CRTRPGPGM Create RPG Program
CRTRPTPGM Create Auto Report Program
CRTTBL Create Table
FMTDTA Format Data
STRBAS Start BASIC
STRBASPRC Start BASIC Procedure
1
CRTICFF is valid on an iSeries server. CRTCMNF, CRTBSCF, and CRTMXDF commands are valid either on System/38 or System/38 environment on an iSeries server.
2
If used with the SBMRMTCMD command, the target must be a System/38.
Related reference
DDM-related CL command lists
Types of files supported by i5/OS DDM