MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Maximum Error Limit Reached- Error while using Repro

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Utilities
View previous topic :: View next topic  
Author Message
devpal
Beginner


Joined: 06 Jul 2004
Posts: 14
Topics: 8

PostPosted: Fri Oct 07, 2005 4:08 pm    Post subject: Maximum Error Limit Reached- Error while using Repro Reply with quote

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
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12367
Topics: 75
Location: San Jose

PostPosted: Fri Oct 07, 2005 4:35 pm    Post subject: Reply with quote

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 - DFSORT Development Team (IBM)
DFSORT is on the Web at:
www.ibm.com/storage/dfsort

www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
devpal
Beginner


Joined: 06 Jul 2004
Posts: 14
Topics: 8

PostPosted: Fri Oct 07, 2005 5:12 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Utilities All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group