Report to List Distribution IDs and Distribution Lists
search cancel

Report to List Distribution IDs and Distribution Lists

book

Article ID: 126240

calendar_today

Updated On:

Products

OM Deliver OM View

Issue/Introduction

The client wants to know what CA Deliver Distribution IDs they have defined that do not have a report associated with them.

They ran RMORPT REPORT 4, which shows Distribution IDs and Distribution List names. However, there were some Distribution IDs they expected to appear in the report that did not. They want to know how they can have a list that shows the Distribution IDs that are contained within a Distribution List.
 

Environment

CA Deliver - All Releases

Resolution

In RMORPT REPORT 4, the value that appears in the Distribution ID field (on the left on the report) is either a Distribution ID or a Distribution List name.

If a Distribution ID is only contained within a Distribution List, that Distribution ID will not appear in the leftmost column, of that report.

Below is a RMOGRW program that lists the Distribution IDs that are within a Distribution List:

//XXXXXXXX JOB ... 
//RMOGRW01 EXEC PGM=RMOGRW 
//STEPLIB DD DISP=SHR,DSN=DLVR.CVDELOAD <=== Modify, if used 
//SYSPRINT DD SYSOUT=* 
//SYSOUT DD SYSOUT=* 
//PRTFILE DD SYSOUT=* 
//SYSIN DD * 
/CONTROL SEQ=DID DATABASE=dlvr_hlq <=== Modify DB name 
/DEFINE I BIN 
/IF DLIST = 'Y' 
/ DO I = 1 TO LNDISTID BY 1 
/ PRINT DID 'DISTID LIST NAME' COL(1) 
/ PRINT LDISTID 'DISTID IN LIST' COL(35) 
/ NEXT LDISTID 
/ END 
/END 
/* 
//