CA Deliver - How to Batch Rename Deliver Report IDs
search cancel

CA Deliver - How to Batch Rename Deliver Report IDs

book

Article ID: 197622

calendar_today

Updated On:

Products

OM Deliver OM View

Issue/Introduction

If there arises the need to rename many CA Deliver Report IDs, the function can be performed in batch, using Deliver database program RMODBB.

 

Environment

Release : 14.0

Component : CA Deliver

Resolution

To change Deliver Report ID names to new names, the following RMODBB program can do that updating:

//XXXXXXXX JOB ...
//RMODBB01 EXEC PGM=RMODBB,PARM='dlvr_hlq' <=== Modify DB name
//STEPLIB DD DISP=SHR,DSN=DLVR.CVDELOAD <=== Modify, if used
//SYSPRINT DD SYSOUT=*
//SYSIN DD *
/RPTDEF ORID=(1,nn) RID=(nn+1,mm) FUNCTION=(nn+mm+1,2)
/*
//DATA DD DISP=SHR,DSN=... <=== Modify DSN of input file
//

In the above, the /RPTDEF fields are:

. ORID - Original Report ID 

. RID - New Report ID

. FUNCTION - "R " -- to do the renaming

. nn -- Length of the ORID field

. mm -- Length of the new RID field

 
The //DATA input dataset would contain the following:

. . Bytes 1 for length of nn  --  Original Report ID
. . Bytes nn+1 for length of mm  --  New Report ID
. . Bytes nn+mm+1 for length of 2  --  R (for rename)

If the Report IDs are the only things that will be changing, this particular example of simple renaming would replace the need to first delete the Report Definitions, then recreate them under the new name.

 

Additional Information

For more information on the use of program RMODBB, please go to the following URL:

  https://techdocs.broadcom.com/us/en/ca-mainframe-software/traditional-management/ca-deliver/14-0/reference/utilities-and-control-statements/rmodbb-construct-the-db.html