© 1998-2017 GSF Software |
DUSPMVS is an MVS utility program which processes back-up tapes created in VSE by the SdS MaxBack utility. Using DUSPMVS, an OS/390 or z/OS installation can restore SAM, DAM or VSAM files from a MaxBack or DUSP tape, or list the files it contains.
DUSPMVS was initially designed for VSE sites which convert to MVS and have a significant number of archive tapes in MaxBack format, which they may have to restore after the end of their migration, when they no longer have access to a VSE system. DUSPMVS can also be used during the course of a VSE/MVS conversion to facilitate the transfer of VSE application data to MVS.
DUSPMVS restores SAM, DAM and VSAM files into pre-allocated data sets. VSAM data sets must be empty, or have been DEFINEd with the REUSE option. VSAM files can be restored into non-VSAM data sets, as required.
When VSAM clusters that were compressed with VSAMLITE in VSE are restored by DUSPMVS, the data they contain is still in compressed format. If the VSAMLITE product is not available in the MVS environment, compressed data records can be decompressed using an optional component of the DUSPMVS package called VSAMLITE.
List the files contained on a MaxBack back-up tape, write corresponding DEFINE commands to SYSPUNCH DD.
//LIST EXEC PGM=DUSPMVS,PARM='LIST,TAPEIN' //STEPLIB DD DSN=SYS2.DUSPMVS.LOAD,DISP=SHR //SYSPRINT DD SYSOUT=* //SYSPUNCH DD SYSOUT=* VSAM DEFINE Commands //* //TAPEIN DD VOL=SER=999999,UNIT=CART,DSN='CT99.SET.1'
Restore/Rename two files from a MaxBack back-up tape, stop processing if any error is encountered.
//RESTORE EXEC PGM=DUSPMVS,PARM='RESTORE,TAPEIN,STOP' //STEPLIB DD DSN=SYS2.DUSPMVS.LOAD,DISP=SHR //SYSPRINT DD SYSOUT=* //* //TAPEIN DD VOL=SER=999999,UNIT=CART,DSN='CT99.SET.1' //* //SYSIN DD * CSCH.DP.COMPUTER.SCHD.SYSTEM.C, MVSPROD.BIGESDS 'DEST.D/B.PROD', MVSPROD.BIGQSAM