Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups 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 Adding big TEXT lines to each record ... bshkris SYNCSORT 4 Sat May 06, 2017 1:40 am
No new posts Getting error while opening a variabl... apandey1 COBOL Programming 5 Fri May 05, 2017 12:22 pm
This topic is locked: you cannot edit posts or make replies. Merge two files and update Trailer re... Yashashri JCL & VSAM 1 Thu May 04, 2017 12:54 pm
No new posts Sort Large record length cmsmoon DFSORT/ICETOOL 14 Tue Apr 11, 2017 5:49 pm
No new posts Format record to remove Leading zeroes Learncoholic DFSORT/ICETOOL 14 Wed Apr 05, 2017 2:43 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us