View previous topic :: View next topic
|
Author |
Message |
suresh_gop1 Warnings : 1 New User
Joined: 23 May 2006 Posts: 18
|
|
|
|
Hi,
I have one question. If one VSAM file has 10000 records. one record has corrupted. How can we find the corrupted record |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
In which way is the record corrupted ? |
|
Back to top |
|
|
William Thompson
Global Moderator
Joined: 18 Nov 2006 Posts: 3156 Location: Tucson AZ
|
|
|
|
suresh_gop1 wrote: |
If one VSAM file has 10000 records. one record has corrupted. How can we find the corrupted record |
Read record, if corrupted display "this one" else go to read record.... |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
If you only have 10000 records, you might REPRO them into a qsam file and "sort out" the corrupt record (or use a COBOL program).
As was asked previously - what does corrupt mean to you? A bad value in one or more fields (i.e. not numeric)? An entire "junk" record? A key that should not exist?
The more complete your request, the better suggestions you will get. |
|
Back to top |
|
|
|