Sample RMOGRW utility to print out the JOBNAMES
search cancel

Sample RMOGRW utility to print out the JOBNAMES

book

Article ID: 48044

calendar_today

Updated On:

Products

Deliver View

Issue/Introduction

This document will present a sample RMOGRW program to print out the JOBNAMES definition

Environment

Release: All
Component: DELIVER

Resolution

CA Deliver is designed to segment JDR (JOB) records when many reports are defined to a single job record.
When using RMOGRW to print only JDR (JOB) records, duplicate job entries may be listed as a result of segmented JDR records.

The following technique should be used to list JDR (Job) records when using the RMOGRW utility:

/CONTROL DATABASE=DELIVER.SYSTEM1 SEQ=JOB <==== MODIFY 
/TITLE 'JOB RECORDS LISTING'
/DEFINE JOBSAVE CHAR(8)
/IF JOB NE JOBSAVE
/ PRINT JOB 'JOBNAME' COL(3)
/ SET JOBSAVE = JOB
/END