View previous topic :: View next topic
|
Author |
Message |
Kumaresan.nk
New User
Joined: 22 Mar 2010 Posts: 31 Location: Chennai
|
|
|
|
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 |
|
|
Kumaresan.nk
New User
Joined: 22 Mar 2010 Posts: 31 Location: Chennai
|
|
|
|
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 |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
020000232
020000232
Delete the duplicate. . .? |
|
Back to top |
|
|
Kumaresan.nk
New User
Joined: 22 Mar 2010 Posts: 31 Location: Chennai
|
|
|
|
Hey,
Yea, got that. Now it works. Thanks for pointing out. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Good to hear it is working - thank you for letting us know
d |
|
Back to top |
|
|
|