Can history records be merged to an existing XCOMHIST with XCOM for z/OS
search cancel

Can history records be merged to an existing XCOMHIST with XCOM for z/OS

book

Article ID: 220618

calendar_today

Updated On:

Products

XCOM Data Transport - z/OS XCOM Data Transport

Issue/Introduction

Can history records be merged into an existing XCOMHIST? The history records to be merged are in a sequential file produced by running a IDCAMS REPRO of the old XCOMHIST.

The job is failing with a S213-4 when trying to create the seed record for the history file.

 

 

Environment

Release : 12.0

Component : CA XCOM Data Transport for z/OS

Cause

The wrong dataset name was specified on the DD statement for the IEBDG job that would create the seed record.

Resolution

Yes, old history records from a sequential file produced by an IDCAMS REPRO can be merged into an existing/new XCOMHIST file. This can be accomplished by running a IDCAMS REPRO. Here is some sample JCL:

//STEP1    EXEC  PGM=IDCAMS                                            
//SYSPRINT DD  SYSOUT=*                                                
//DD1      DD  DISP=SHR,DSN=XCOM.HIST.SEQ                      
//DD2      DD  DSN=XCOM.XCOMHIST,DISP=OLD                  
//SYSIN    DD  *                                                       
 REPRO IFILE(DD1) OFILE(DD2)  SKIP(1)                                     
/*  

Note: Please refer to the IBM documentation for details on the IDCAMS parameters or errors.                                                                  

The S213-04 abend was caused by coding the wrong dataset name on the DD statement in the IEBDG JCL being used. Once the dataset name was corrected the S213-04 was corrected. In this case the IEBDG step is NOT required for merging the history records into an existing XCOMHIST.