Hello,
I ma importing transaction thru following JCL but getting
REPRO INFILE(INPUT) OUTFILE(OUTPUT)
IDC3302I ACTION ERROR ON IMSTESTA.IMFTABLE.NEW
IDC3314I **RECORD OUT OF SEQUENCE - KEY FOLLOWS:
000000 D4C3E3D7 C1C4C6E3 C3F0F0F4 F8F9F640 40404040 40404040
**** Repeating few times and than I go message as below:
IDC31467I MAXIMUM ERROR LIMIT REACHED.
IDC0005I NUMBER OF RECORDS PROCESSED WAS 104282
IDC3003I FUNCTION TERMINATED. CONDITION CODE IS 12
Here is the JCL
*************************
*****************************************************************************************************
//* DELETE/DEFINE IMFTABLE VSAM FILE
//*----------------------------------------------------------------------------------------------------------------
//*
//IMF1 EXEC PGM=IDCAMS
//DD1 DD DISP=OLD,DSN=IMSTESTA.IMFTABLE.NEW
//SYSPRINT DD SYSOUT=*
//SYSIN DD *
DELETE (IMSTESTA.IMFTABLE.NEW) CLUSTER PURGE
DEFINE CLUSTER( -
NAME(IMSTESTA.IMFTABLE.NEW) -
FREESPACE(0 0) -
INDEXED -
KEYS(24 0) -
RECORDSIZE(80 80) -
SHAREOPTIONS(3 3) -
ERASE -
UNIQUE -
STORCLAS(NULL) -
VOLUMES(IMSA01) -
CYLINDERS(40 10) -
) -
DATA( -
NAME(TESTA.IMFTABLE.NEW.DATA) -
CONTROLINTERVALSIZE(8192) -
) -
INDEX( -
NAME(TESTA.IMFTABLE.NEW.INDEX) -
CONTROLINTERVALSIZE(8192))
/*
//*
//*-----------------------------------------------------------------*
//* DO LISTCAT OF IMFTABLE VSAM FILE *
//*-----------------------------------------------------------------*
//*
//LISTCAT EXEC PGM=IDCAMS
//SYSPRINT DD SYSOUT=*
//SYSIN DD *
LISTCAT ENTRIES(TESTA.IMFTABLE.NEW) ALL
//*
//*-----------------------------------------------------------------*
//* SORT DATA BEFORE REPRO INTO VSAM FILE *
//*-----------------------------------------------------------------*
//*
//SORT EXEC PGM=SORT
//SORTIN DD DISP=OLD,DSN=TESTA.IMF310.ITD.SOURCE(DEFAULT)
// DD DISP=OLD,DSN=TESTA.IMF310.ITD.SOURCE(CWS)
// DD DISP=OLD,DSN=TESTA.IMF310.ITD.SOURCE(TCIS0216)
// DD DISP=OLD,DSN=TESTA.IMF310.ITD.SOURCE(PDB) ## 10/28/11
// DD DISP=OLD,DSN=TESTA.IMF310.ITD.SOURCE(ETRS1211)
//SORTOUT DD DISP=OLD,DSN=TESTA.IMF310.ITD.SOURCE.DATA
//SYSOUT DD SYSOUT=*
//SYSPRINT DD SYSOUT=*
//SORTWK01 DD UNIT=SYSDA,SPACE=(CYL,(10,10))
//SORTWK02 DD UNIT=SYSDA,SPACE=(CYL,(10,10))
//SORTWK03 DD UNIT=SYSDA,SPACE=(CYL,(10,10))
//SORTWK04 DD UNIT=SYSDA,SPACE=(CYL,(10,10))
//SORTWK05 DD UNIT=SYSDA,SPACE=(CYL,(10,10))
//SORTWK06 DD UNIT=SYSDA,SPACE=(CYL,(10,10))
//* SORT FIELDS=(1,32,CH,A)
//SYSIN DD *
//* SORT FIELDS=(1,32,CH,A)
SORT FIELDS=COPY
SUM FIELDS=NONE
/*
//*-----------------------------------------------------------------*
//* PRINT SORTED DATA (FOR VALIDATION) *
//*-----------------------------------------------------------------*
//*
//*PRINT EXEC PGM=IEBGENER
//*SYSUT1 DD DISP=OLD,DSN=TESTA.IMF310.ITD.SOURCE.DATA
//*SYSUT2 DD SYSOUT=*,DCB=(RECFM=FB,LRECL=80,BLKSIZE=6400)
//*SYSPRINT DD SYSOUT=*
//*SYSIN DD DUMMY
//*
//*
//*-----------------------------------------------------------------*
//* BUILD IMFTABLE VSAM FILE *
//*-----------------------------------------------------------------*
//*
//STEP01 EXEC PGM=IDCAMS
//SYSPRINT DD SYSOUT=*
//SYSUDUMP DD SYSOUT=*
//PRINTO DD SYSOUT=*
//INPUT DD DISP=OLD,DSN=TESTA.IMF310.ITD.SOURCE.DATA
//OUTPUT DD DISP=OLD,DSN=TESTA.IMFTABLE.NEW
//SYSIN DD *
REPRO INFILE(INPUT) OUTFILE(OUTPUT)
END
/*
//*-------------------------------------------------------*
//* TELL OPERATIONS THAT THIS JOB FAILED DUE TO ABEND *
//*-------------------------------------------------------*
//ABEND1 EXEC PGM=ITDWTOR,COND=ONLY
//STEPLIB DD DSN=IMSB.PGMLIB,DISP=SHR
//SYSUDUMP DD SYSOUT=*
//SYSIN DD DSN=TESTA.CNTRL(IMFTBLE),DISP=SHR
//*
REPRO INDATASET(TESTA.IMF310.ITD.SOURCE(IMFTABLE)) -
OUTDATASET(TESTA.IMFTABLE.NEW)
END
//
******************************** Bottom of Data ********************************
Thanks