INFILE supports the following parameters:
Identifies the data set name and optional member that contains the input records. This data set is dynamically allocated. No JCL is needed to reference this dsname.
The input file's ddname. One to seven characters if OUTFILE is not provided. Otherwise, the length can be the standard eight characters.
This parameter value closes the INFILE after the command has completed processing. This is the default value, but it may have been changed by updating the &BAT_CLOSEIN installation option.
This parameter value does not close the INFILE after the command has completed processing. However, all data sets are closed before executing subsequent job steps.
When the NOCLOSE parameter is used, the current job step's subsequent command begins processing with the next record from the INFILE.
Each file in the concatenation is processed by the command individually. Enhanced concatenation supports the following:
The files in the concatenation are processed as a single file. This parameter supports any valid concatenation supported by the operating system.
Notes: If a ddname is chosen for the INFILE's value and there is no OUTFILE keyword, the output file's ddname will be the INFILE's ddname with the character O appended to it. See example 1.
Both dsname(member) and ddname are optional. If both are omitted, either the CLOSE or NOCLOSE option must be supplied.
This example syntax specifies CUSTREC as the ddname of the primary input file, and will not close CUSTREC before starting the execution of the PRINT command. PRINT begins processing with CUSTREC's 501st record. The output file's ddname is CUSTRECO.
COPY, INFILE(CUSTREC,NOCLOSE), INLIM(500), PRINT
|
Copyright © 2015 CA Technologies.
All rights reserved.
|
|