2.4.1.14.4 Options
At least one of the two options “-i” and “-d” must be specified. All other options are optional.
- -C <concatenation>
- Concatenate this file with the previous
dsname
for thisddname
. - -D <delimiter>
- Delimiter of sysin.
- -d <DispOption>
- This option indicates the DISPosition status of the file in the format:
- -i
- Indicates that the data set is a sysin.
- -k <key position>+<key length>
- Indicates the key characteristics of an indexed file (to be used when file organization is IDX).
- -r [<record length-min>-]<record length-max>
- Indicates the length characteristics of the record.
- -S <model file>
- (S upper case character)
- -t <file organization>
- Indicates the file oraganization type:
- -v volume
- Indicates the external file volume. This option only works when file catalog is enabled in Batch Runtime.
- -e Ydate|Ddays (Y upper case character) (D upper case character)
- Indicates the retention period for the data set.
- -U
- Indicates the file is a UNIX file. No dcb file is generated for this type of file.
- -O
- Retrieves the value of
PATHOPTS
from DD statement (in mainframe JCL), and uses it form_FileAssign
. - -M
- Retrieves the value of
PATHMODE
from DD statement (in mainframe JCL), and uses it form_FileAssign
. - date
- Specifies the expiration date for the data set. The date is
specified in the form [yy]yyddd.
- yyddd
- The yy is a two-digit year number (through 99) and the ddd is a three-digit day number from 000 through 365 for non-leap year dates. For example, code February 2, 1995 as 95033
- yyyyddd
- The yyyy is a four-digit year (through 2155),and ddd is the three-digit day of the year.
- days
- Specifies the retention period for the data set. It is specified in the form dddd, where dddd must be set in the range of 0-9999.The system adds dddd to the current date to produce an expiration date.
- -w referenced-file
- Indicates that the volume of the referenced file is used. This option only works when file catalog is enabled in Batch Runtime.
- ddname <InternalFileName>
- The logical name of the file as defined in the SELECT statement of the COBOL program.
- dsname <ExternalFileName>
- Real file name, full path of the file on the disk.
Parent topic: m_FileAssign