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.
Note:
When REPRO is used with an encrypted data set for key
rotation purposes, the target data set would have a new key label.
When REPRO is used with an encrypted data set for key
rotation purposes, the target data set would have a new key label.
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)} | |
| [CIMODE|NOCIMODE] | |
| [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] | |
| [MESSAGELEVEL(ALL|SHORT)] | |
| [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)] |