CRTDIRF (Create Direct File) Level 1.0 and Level 2.0

This command creates a direct file on the server system.

Parameter name Source Target
ALCINIEX Sent Ignored
DCLNAM1 Not sent Supported
DELCP2 Sent Supported
DFTREC Sent Supported
DFTRECOP Sent Supported
DUPFILOP Not sent Supported
FILCLS3 Not sent Ignored
FILEXNSZ4 Sent Supported
FILEXPDT5 Sent Supported
FILHDD Not sent Ignored
FILINISZ4 Sent Supported
FILMAXEX6 Sent Supported
FILNAM7 Program defined IBM® i name
FILSYS Not sent Ignored
GETCP Sent Supported
INSCP8 Sent Supported
MODCP Sent Supported
RECLEN9 Sent Supported
RECLENCL Sent Supported
:row. RTNCLS10 Not sent
Supported    
TITLE Sent Supported
1
Names are implementation defined.
2
Value must be TRUE unless DFTRECOP (DFTSRCIN) is specified.
3
Only DIRFIL is valid for CRTDIRF command.
4
IBM i default is 1,000 records.
5
IBM i default is *NONE.
6
IBM i default is 3.
7
Name formats are server defined.
8
Only TRUE is valid.
9
IBM i maximum record length = 2**15-2. (2 to the power of 15 minus 2)
10
Library QTEMP is used for temporaries.