Migrating Disk records from one DISK database (FDB) to other DISK database (FDB)
search cancel

Migrating Disk records from one DISK database (FDB) to other DISK database (FDB)

book

Article ID: 264770

calendar_today

Updated On:

Products

Disk Backup and Restore - MVS

Issue/Introduction

There are 2 databases (FDB) used by Disk.  One with 30 days retention the other with 90 days retention.

What process can be used to move the Disk records (files) from one database to the other?

Environment

Release : 14.0

Resolution

The Preferred method is to 

1. REBUILD some of the entries first within the new Disk database (FDB)

(Note: If all were being moved, the customer could have use DBCOMBIN to merge the two FDBs)

2. PURGE them from the original Disk database (FDB).

 

Refer to tech doc for REBUILD and PURGE  samples.

Following examples are from the above tech doc for the REBUILD and PURGE are:
 
REBUILD on the Disk Database to move the data to:
//jobname JOB (acct,info),etc.
// EXEC REBUILD,DSN='HLQ1.HLQ2.data.set'
 
PURGE on the Disk Database  where the data is being removed.
//jobname JOB (acct,info),etc.
// EXEC IXMAINT
//SYSIN DD *
PURGE VOL=vol1