View previous topic :: View next topic |
Author |
Message |
devpal Beginner
Joined: 06 Jul 2004 Posts: 14 Topics: 8
|
Posted: Fri Oct 07, 2005 4:08 pm Post subject: Maximum Error Limit Reached- Error while using Repro |
|
|
Hi,
I am trying to copy a sequential file to a GDG using REPRO. This is a Fixed byte file of 297 bytes. I have specified the same length in the JCL too. However it gives me the following error.
Code: |
IDCAMS SYSTEM SERVICES TIME: 16:10:43
REPRO INFILE(SYSUT1) OUTFILE(SYSUT2)
IDC3302I ACTION ERROR ON T.TGEAC.APMDWF.VENDOR.INITIAL.BKUP.G0002V00
IDC3309I ** RECORD X'C8C4D9E5C5' NOT WRITTEN. LENGTH INVALID
IDC3302I ACTION ERROR ON T.TGEAC.APMDWF.VENDOR.INITIAL.BKUP.G0002V00
IDC3309I ** RECORD X'C3C3D9F0F1' NOT WRITTEN. LENGTH INVALID
IDC3302I ACTION ERROR ON T.TGEAC.APMDWF.VENDOR.INITIAL.BKUP.G0002V00
IDC3309I ** RECORD X'C3C3D9F0F1' NOT WRITTEN. LENGTH INVALID
IDC3302I ACTION ERROR ON T.TGEAC.APMDWF.VENDOR.INITIAL.BKUP.G0002V00
IDC3309I ** RECORD X'C3C3D9F0F2' NOT WRITTEN. LENGTH INVALID
IDC31467I MAXIMUM ERROR LIMIT REACHED.
IDC0005I NUMBER OF RECORDS PROCESSED WAS 0
IDC3003I FUNCTION TERMINATED. CONDITION CODE IS 12
IDC0002I IDCAMS PROCESSING COMPLETE. MAXIMUM CONDITION CODE WAS 12
|
I have checked the output file and the file looks correct (fixed byte) with proper data.
I have also checked the limit for the GDS's for this base is 30.
Could you let me know any other reasons for the error.
Thanks,
Devpal |
|
Back to top |
|
|
kolusu Site Admin
Joined: 26 Nov 2002 Posts: 12372 Topics: 75 Location: San Jose
|
Posted: Fri Oct 07, 2005 4:35 pm Post subject: |
|
|
Devpal,
Looks like you have mismatch between your Input and output lrecl definition. Show us the JCL you ran and also listcat properties of the input dataset if the input is a vsam cluster. or 3.4 listing if it is a sequential file.
Check this link for detailed explanation of IDC3309I
http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/IEA2M650/SPTM009222
Check this link for detailed explanation of IDC3302I
http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/IEA2M650/SPTM009215
Alternatively you can use SORT to copy and you don't have to worry about coding the LRECL. SORT automatically copies DCB properties from input.
Code: |
//STEP0100 EXEC PGM=SORT
//SYSOUT DD SYSOUT=*
//SORTIN DD DSN=YOUR INPUT DSN,
// DISP=SHR
//SORTOUT DD DSN=YOUR OUTPUT DSN,
// DISP=(NEW,CATLG,DELETE),
// UNIT=SYSDA,
// SPACE=(CYL,(X,Y),RLSE)
//SYSIN DD *
SORT FIELDS=COPY
/*
|
Hope this helps...
Cheers
Kolusu _________________ Kolusu
www.linkedin.com/in/kolusu |
|
Back to top |
|
|
devpal Beginner
Joined: 06 Jul 2004 Posts: 14 Topics: 8
|
Posted: Fri Oct 07, 2005 5:12 pm Post subject: |
|
|
Thanks for the response Kolusu. I had actually given the wrong file name having a different length in the input. I was looking at the error messages for all sorts of reasons, but, I guess I overlooked verifying the input filename. |
|
Back to top |
|
|
|
|