This document describes procedure a procedure that you can use to move reports between two View databases.
Output Management View® for z/OS, OM View
This procedure may be used to move reports from one View database to another View database.
Prerequisites:
Process:
//SARBCHPR JOB ...
//STEP1 EXEC PGM=SARBCH,PARM='VIEW.DB1' <=== Modify DB name
//*STEPLIB DD DISP=SHR,DSN=VIEW.CVDELOAD <=== Modify, if needed
//SYSPRINT DD SYSOUT=*
//REPORT DD SYSOUT=*
//RPTPRINT DD DSN=xxxxxx.xxxxxx.LOAD,DISP=(NEW,CATLG),
// UNIT=SYSDA,SPACE=(CYL,(nn,nn),RLSE),
// DCB=(RECFM=FBA,LRECL=nnnnn,BLKSIZE=nnnnn)
//SYSIN DD *
/LOAD DDNAME=RPTPRINT ID=reportid GEN=nnnnn SEQ=nnnnn
/*
//
//Origjobname... <=== Original reports Jobname
//STEP1 EXEC PGM=IEBGENER
//SYSPRINT DD SYSOUT=*
//SYSUT1 DD DSN=xxxxxx.xxxxxx.LOAD,DISP=SHR
//SYSUT2 DD SYSOUT=(x,reportnm,vform),DEST=vdest <=== Modify
//SYSIN DD DUMMY
//
//SARBCH JOB ...
//STEP1 EXEC PGM=SARBCH,PARM='view.DB2' <=== Modify DB name
//*STEPLIB DD DISP=SHR,DSN=view.CVDELOAD <=== Modify, if needed
//SYSPRINT DD SYSOUT=*
//REPORT DD SYSOUT=*
//SYSIN DD *
/CHANGE ARCHDATE=mm/dd/yyyy GEN=nnnnn ID=reportid SEQ=nnnnn
/*
//
NOTE - When the ARCHDATE is changed, the GEN and SEQ numbers will automatically reflect the GEN and SEQ numbers of the receiving database's ARCHDATE.
//SARBCH JOB ...
//STEP1 EXEC PGM=SARBCH,PARM='VIEW.DB1' <=== Modify DB name
//STEPLIB DD DISP=SHR,DSN=VIEW.CVDELOAD <=== Modify, if needed
//SYSPRINT DD SYSOUT=*
//REPORT DD SYSOUT=*
//SYSIN DD *
/DELETE ID=reported GEN=nnnnn SEQ=nnnnn
/*
//
This knowledge article is not meant to be a one size fits all solution. Depending on your actual requirements and environment, If you are uncertain of what needs to be done for your specific circumstance, it would be best to open a support case and speak with a product Support Engineer.