Thus the REPRO command can:
- Load a sequential data set to a VSAM data set.
- Load a VSAM data set to a VSAM data set, optionally replacing records that have the same primary key values as the input records.
- Copy a VSAM data set to a sequential data set.
- Copy a sequential data set to a sequential data set.
Parameters:
MFJAMS uses the parameters described in the following table. All other parameters are ignored.
- INFILE(ddname)
- Name of the DD statement, contained in the JCL for this job step, that provides the name of the data set that is to be used for input.
- INDATASET(data-set-name)
- Name of the data set that is to be used for input.
- OUTFILE(ddname)
- Name of the DD statement, contained in the JCL for this job step, that provides the name of the data set that is to be used for output.
- OUTDATASET(data-set-name)
- Name of the data set that is to be used for output.
- FROMKEY(key)
- For a VSAM KSDS only, the key of the first record to copy. Copying starts at the record with the same primary key, or the record with the nearest higher key if an exact match does not occur. Alternate indices are not used.
- TOKEY(key)
- For a VSAM KSDS only, the key of the last record to copy. Copying ends at the record with the same primary key, the record with the nearest higher key if an exact match does not occur, or end of file. Alternate indices are not used.
- SKIP(number)
- The number of records to skip before copying starts.
- COUNT(number)
- The number of records to copy.
- REPLACE
- For VSAM files only, the record in the input data set replaces any record in the output data set that has the same primary key.
- NOREPLACE
- For VSAM files only, the record in the input data set does not replace any record in the output data set that has the same primary key.
Comments: