+1 vote
in VSAM by
What is the best way to load a VSAM dataset with Records?

1 Answer

0 votes
by

Using the REPRO command, data can be loaded into a VSAM dataset. This command can also be used to copy data between VSAM data sets, as well as to copy data from sequential files to VSAM files. The IDCAMS utility loads datasets using the REPRO command.

Syntax:

REPRO INFILE(in-ddname)

OUTFILE(out-ddname)

Here, 

  • in-ddname represents the DD name of the input dataset which has records.
  • out-ddname represents the DD name of the Output Dataset, into which the input dataset records will be copied.

Related questions

0 votes
0 votes
asked Aug 27, 2022 in VSAM by Robin
0 votes
asked Aug 27, 2022 in VSAM by Robin
0 votes
asked Aug 27, 2022 in VSAM by Robin
...