RMOGRW to list REPORT ID(RID), JOB NAME(JOB), DISTRIBUTION ID(DID/DISTID), OUT field and DEST field
search cancel

RMOGRW to list REPORT ID(RID), JOB NAME(JOB), DISTRIBUTION ID(DID/DISTID), OUT field and DEST field

book

Article ID: 375904

calendar_today

Updated On:

Products

Deliver

Issue/Introduction

I would like to know what the status of the OUT field is set to for all DISTID's for all reports defined to Deliver. 

Is there a reporting utility that will list off the REPORT ID, JOB NAME, DISTID, OUT field and DEST field settings?

Environment

z/os, deliver, RMOGRW, report, writer, listing, distid, report, job, out, dest, destination

Cause

Special needs database listing

Resolution

Please refer to the following sample JCL and custom RMOGRW control statements to produce a listing based on your request:

//JOBCARD...
//STEP1    EXEC PGM=RMOGRW                                    
//*STEPLIB  DD DISP=SHR,DSN=your.deliver.CVDELOAD <--MODIFY IF USED!           
//SORTWK01 DD UNIT=SYSDA,SPACE=(CYL,(5),,CONTIG)              
//SORTWK02 DD UNIT=SYSDA,SPACE=(CYL,(5),,CONTIG)              
//SORTWK03 DD UNIT=SYSDA,SPACE=(CYL,(5),,CONTIG)              
//SYSUDUMP DD SYSOUT=*                                        
//SYSOUT   DD SYSOUT=*                                        
//SYSPRINT DD SYSOUT=*                                        
//PRTFILE  DD SYSOUT=*,DCB=(RECFM=FBA,LRECL=133,BLKSIZE=13300)
//SYSIN    DD *                                               
/CONTROL DATABASE=your.deliver.dbhlq               <--MODIFY DBHLQ!!
/DEFINE I BIN(4)                                              
/DO I = 1 TO NDID BY 1                                        
/ PRINT RID 'REPORT ID' COL(1)                                
/ PRINT DISTID 'DIST ID' COL(34)                              
/ PRINT EDIT(I,'9999') 'ENTRY NO' COL(66)                     
/ PRINT OUT 'OUT'                                             
/ PRINT DEST 'DEST'                                           
/ PRINT JOB 'JOB'                                             
/ NEXT DISTID                                                 
/END                                                          
/*                                                            
//

Additional Information

Deliver offers a couple of  "canned" database reporting options. You can refer to the following areas of documentation for additional information:

 

1- RMOGRW General Reporting - Control Statements - Do a FIND on  EXAMPLES and read through the available RMOGRW reports.

2- RMORPT Batch Reporting