Record count difference between the BKUPHIST and REPORT with COPY ALL on CA Workload Automation ESP Edition
search cancel

Record count difference between the BKUPHIST and REPORT with COPY ALL on CA Workload Automation ESP Edition

book

Article ID: 134443

calendar_today

Updated On:

Products

ESP Workload Automation

Issue/Introduction

I have observed record-count anomalies between BKUPHIST and REPORT with COPY

1)    I issued BKUPHIST  HIST1:

The backup dataset contained 1946 records.


2)    I invoked REPORT and specified COPY  DSNAME(target-of-copy-dsn) ALL

A message is displayed indicating that 1470 RECORDS WRITTEN TO DATASET target-of-copy-dsn


Why the difference in record counts?

Environment

Release : 12.0

Component : CA ESP WORKLOAD AUTOMATION

Cause

HISTFILE can contain data for Application report as well.

Resolution

HISTFILE can contain data for Application report as well. So REPORT COPY should run twice, one for JOB and one for APPL.


Below can be added to the REPORT JCL, so that application data can be copied over:

REPORT

 APPLREPORT

 COPY DATASET(HISTCOPY) ALL EXTEND

ENDR