REPRO

The REPRO command performs the following functions:
  • Copies VSAM and non-VSAM data sets. If the data set is a version 2 PDSE with generations, only the current generation of each member is copied.
  • Copies catalogs
  • Copies or merges tape volume catalogs
  • Splits integrated catalog facility catalog entries between two catalogs
  • Splits entries from an integrated catalog facility master catalog into another integrated catalog facility catalog
  • Merges integrated catalog facility catalog entries into another integrated catalog facility user catalog.
Restriction: Access Method Services does not use RLS. If an RLS keyword is specified on the DD statement of a file to be opened by AMS, the keyword will be ignored and the file will be opened and accessed in non-RLS mode.

The syntax of the REPRO command is:

Command Parameters
REPRO {INFILE(ddname)|INDATASET(entryname)}
  {OUTFILE(ddname)| OUTDATASET(entryname)}
Start of change End of change Start of change[CIMODE|NOCIMODE]End of change
  [DBCS]
  [ENTRIES(entryname [entryname...])|
    LEVEL(level)]
  [ERRORLIMIT(value)]
  [FILE(ddname)]
  [FROMKEY(key)|FROMADDRESS(address)|
    FROMNUMBER(number)|SKIP(number)]
  [INSERTSHIFT((offset1 offset2)[(offset1 offset2 )...])| INSERTALL]
  [MERGECAT|NOMERGECAT]
Start of change End of change Start of change[MESSAGELEVEL(ALL|SHORT)]End of change
  [REPLACE|NOREPLACE]
  [REUSE|NOREUSE]
  [SKIPDBCSCHECK((offset1 offset2)[(offset1 offset2 )...])| NODBCSCHECK]
  [TOKEY(key)|TOADDRESS(address)|
    TONUMBER(number)|COUNT(number)]
  [VOLUMEENTRIES(entryname)]
  [ENCIPHER
    ({EXTERNALKEYNAME(keyname)|
     INTERNALKEYNAME(keyname)|PRIVATEKEY}
    [CIPHERUNIT(number|1)]
    [DATAKEYFILE(ddname)|DATAKEYVALUE(value)]
    [SHIPKEYNAMES(keyname[ keyname...])]
    [STOREDATAKEY|NOSTOREDATAKEY]
    [STOREKEYNAME(keyname)]
    [USERDATA(value)])]
  [DECIPHER
    ({DATAKEYFILE(ddname)| DATAKEYVALUE(value)|SYSTEMKEY}
    [SYSTEMDATAKEY(value)]
    [SYSTEMKEYNAME(keyname)])]
  [RLSSOURCE(NO|YES|QUIESCE)]
  [RLSTARGET(NO|YES|QUIESCE)]