Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Record Out Of Sequence Error In REPRO.

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
Kumaresan.nk

New User


Joined: 22 Mar 2010
Posts: 31
Location: Chennai

PostPosted: Tue Apr 20, 2010 10:39 am    Post subject: Record Out Of Sequence Error In REPRO.
Reply with quote

Hi,

I'm trying to copy a flat file with REC Length 9 to a VSAM file of same rec length. But while doing so, i'm getting record out of sequence error after few records have been copied. I even tried the option - NOREPLACE ERRORLIMIT(10000). But it still gives me the same error. The input file is been sorted too.

This is my REPRO CARD -

Code:
REPRO INFILE (CURRYRIN) -                             
       OUTFILE (CURRYROT) NOREPLACE ERRORLIMIT(1000000)

This is my input file -

Code:
000000000
020000134
020000138
020000140
020000148
020000156
020000176
020000180
020000212
020000232
020000232

Please let me know how to get this done.
Back to top
View user's profile Send private message

Kumaresan.nk

New User


Joined: 22 Mar 2010
Posts: 31
Location: Chennai

PostPosted: Tue Apr 20, 2010 10:40 am    Post subject:
Reply with quote

Adding the definition of cluster -

Code:
DEFINE CLUSTER -                                 
       (NAME(USER.NONX.IRSCAEDD.TEST)      -     
       RECORDSIZE(9 9)                     -     
       FREESPACE(20 20)                    -     
       BUFSPC(20480)                       -     
       CYL(200 100)                        -     
       SHAREOPTIONS(3 3)                   -     
       CISZ(4096)                          -     
       SPEED                               -     
       UNIQUE                              -     
       KEYS(9 0)                           -     
       VOLUME(TESTDA TESTDA TESTDA TESTDA TESTDA))
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Tue Apr 20, 2010 10:41 am    Post subject:
Reply with quote

Hello,

020000232
020000232

Delete the duplicate. . .?
Back to top
View user's profile Send private message
Kumaresan.nk

New User


Joined: 22 Mar 2010
Posts: 31
Location: Chennai

PostPosted: Tue Apr 20, 2010 11:20 am    Post subject:
Reply with quote

Hey,

Yea, got that. Now it works. Thanks for pointing out.
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Tue Apr 20, 2010 7:25 pm    Post subject: Reply to: Record Out Of Sequence Error In REPRO.
Reply with quote

Good to hear it is working - thank you for letting us know icon_smile.gif

d
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts How to select record x+7 or x+2 based... JoAnn Kulcyk SYNCSORT 6 Tue Jan 16, 2018 10:49 pm
No new posts query to fetch record which has only ... maxsubrat DB2 12 Mon Dec 11, 2017 5:03 pm
No new posts Extract record for change in combinat... Trinadh DFSORT/ICETOOL 6 Thu Nov 23, 2017 3:32 pm
No new posts Extract Record using range of Data scorp_rahul23 DFSORT/ICETOOL 3 Wed Nov 15, 2017 11:54 pm
No new posts Squeeze record left so that zeroes ar... Vignesh Sid SYNCSORT 5 Fri Nov 10, 2017 1:40 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us