IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Record Out Of Sequence Error In REPRO.


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
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
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
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

Moderator Emeritus


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

PostPosted: Tue Apr 20, 2010 10:41 am
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
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

Moderator Emeritus


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

PostPosted: Tue Apr 20, 2010 7:25 pm
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts Error to read log with rexx CLIST & REXX 11
No new posts Error when install DB2 DB2 2
No new posts SFTP Issue - destination file record ... All Other Mainframe Topics 2
No new posts FINDREP - Only first record from give... DFSORT/ICETOOL 3
Search our Forums:

Back to Top