Is there a utility that I can use to create a COPY of an existing CA Deliver database?
Release : 14.0
Component : CA Deliver
To copy a CA Deliver database you can use the RMODBASE utilities COPY function, which will copy the entire database including the checkpoint file.
COPY Control Statement:
. The COPY control statement is used to copy a database. The output database must be a newly created, empty database.
. The COPY control statement can also be used to reorganize a database and reclaim blocks in the database that are allocated but not currently being utilized.
Create NEW database:
. Use RMODBASE ADDDS and MAKECKPT to create the target database.
. Note: Ensure that the BLKSIZE used to create the target database is the same BLKSIZE which was used for the source database.
. Use RMODBASE COPY to copy the source database to the target database:
Sample JCL:
//XXXXXXXX JOB ...
//RMODBASE EXEC PGM=RMODBASE
//STEPLIB DD DISP=SHR,DSN=DLVR.CVDELOAD <=== Modify, if used
//SYSPRINT DD SYSOUT=*
//SYSIN DD *
NAME dlvr_target
COPY dlvr_source HIST_OPT
/*
//
Additional notes:
- Where HIST_OPT (history options) can be:
a. HISTDEL to delete the detail history subfile only
b. HISTDELALL (Recommended) to delete the history subfile and all basic history records.
- Use RMODBASE MAKECKPT EMPTY, to clear out the target Checkpoint file.