[OT] IDCAMS Error Counts?
- From: docdwarf@xxxxxxxxx ()
- Date: Tue, 13 Sep 2005 13:47:50 +0000 (UTC)
All righty... there's a flat file that's used to load a VSAM KSDS.
Originally the file was de-duped with a SORT on the key field and the SUM
FIELDS=NONE control statement, eg:
SORT FIELDS=(5,9,CH,A)
SUM FIELDS=NONE
Now an additional field has been added to the sort which extends it to
something like:
SORT FIELDS=(5,9,CH,A,115,8,CH,D)
.... and the de-duping no longer occurs. When the result of the sort is
REPRO'd there are records with duplicate key fields present and IDCAMS
starts throwing sequence errors.
At the moment there are 86 dupe-key recs in a file of about 87K recs; the
quick fix is to up the IDCAMS tolerance for errors by specifying:
REPRO INFILE(INPUT1) OUTFILE(OUTPUT1) ERRORLIMIT(500)
.... and this should keep things happy until the limit is reached.
The question becomes... where would I find out how many errors IDCAMS has
encountered in a given build of the file? I can send the SYSPRINT to a
file and run a SORT to COUNT the IDC3314I messages... but I'd rather add
another step to the job as a last resort; it would be more elegant to find
a parameter to query.
DD
.
- Follow-Ups:
- Re: [OT] IDCAMS Error Counts?
- From: Joe Zitzelberger
- Re: [OT] IDCAMS Error Counts?
- From: Arnold Trembley
- Re: [OT] IDCAMS Error Counts?
- Prev by Date: Re: Management wars
- Next by Date: OT: Katrina's Wrath
- Previous by thread: External name for printer.
- Next by thread: Re: IDCAMS Error Counts?
- Index(es):
Relevant Pages
|