Previous Topic: Example 1 — Compress by MovingNext Topic: DASD BILLING Examples


Example 2 — Convert a Disk Volume to a New Device Type

Convert a disk volume to a new device type. The recommended way to convert to new volumes and device types is to give the new volumes new names, and to then use the Move/Copy function to move and recatalog the data sets to the new volume.

//jobname JOB (acct,info),etc.
//         EXEC DMS
//SYSIN     DD  *
SCAN REALVOLS
SELECT VOL=DA3380
MOVE TOV=DA3390

If there is an overriding reason why you must give the new volume the same name as the old volume, it is recommended that you archive, scratch, and uncatalog the data sets from the source volume, then run volume recovery to the new volume that has been given the same name. When CA Disk catalogs the data sets as they are being restored, the new device type will be put into the catalog entry.

//jobname JOB (acct,info),etc.
//         EXEC DMS
//SYSIN     DD  *
SCAN REALVOLS
SELECT VOL=MVS001
ARCHIVE

Clip (relabel) the target volume (the 3390) to the same volume serial as the source volume (the 3380). Vary the source volume offline. Mount the target volume online. Then execute the RECOVER command.

//       EXEC RECOVER
//SYSIN   DD  *
RECOVER VOL=MVS001,RECATALOG