Help with History data


Article ID: 220618


Updated On:


CA XCOM Data Transport - z/OS CA XCOM Data Transport


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.

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




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


Release : 12.0

Component : CA XCOM Data Transport for z/OS


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.