Maximum Error Limit Reached- Error while using Repro
Select messages from
# through # FAQ
[/[Print]\]

MVSFORUMS.com -> Utilities

#1: Maximum Error Limit Reached- Error while using Repro Author: devpal PostPosted: Fri Oct 07, 2005 4:08 pm
    —
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

#2:  Author: kolusuLocation: San Jose PostPosted: Fri Oct 07, 2005 4:35 pm
    —
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

#3:  Author: devpal PostPosted: Fri Oct 07, 2005 5:12 pm
    —
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.



MVSFORUMS.com -> Utilities


output generated using printer-friendly topic mod. All times are GMT - 5 Hours

Page 1 of 1

Powered by phpBB © 2001, 2005 phpBB Group