View previous topic :: View next topic
|
Author |
Message |
gileshpg
New User
Joined: 22 May 2008 Posts: 27 Location: Bangaluru
|
|
|
|
Hi,
I am getting an error as below when I Unlaod records from VSAM to flat file using IDCAMS.
REPRO INFILE(FILEI) OUTFILE(FILEO)
IDC3302I ACTION ERROR ON BDLT.CICE.XXXXXXX.DP4600
IDC3309I ** RECORD X'0000000000' NOT WRITTEN. LENGTH INVALID
IDC0005I NUMBER OF RECORDS PROCESSED WAS 27588410
IDC0001I FUNCTION COMPLETED, HIGHEST CONDITION CODE WAS 8
IDC0002I IDCAMS PROCESSING COMPLETE. MAXIMUM CONDITION CODE WAS 8
The VSAM has extended addresibility, with around 27 million records and the first record is a null record. Could anyone please help me on this.... |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
Quote: |
... and the first record is a null record ... |
explain please!
did You look at the manual for the meaning of the messages and the actions to be taken?
seems that about 27 millions records were processed, did You look at the output dataset?
could be one of the occasions where the sort counting capability might be handy! |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
Or simply use the sort to copy the data. . .
Maybe this will provide a diagnostic that you don't need to look up. |
|
Back to top |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
|
|
1. TS has not bothered to respond - add him to the list of those who post and then think (or ignore their problem)
2. since it is a vsam to qsam repro (we think) the obvious place to start looking is the defined DCB for the qsam file. qsam record length apparently does not jive with the vsam file. but that is to be expected by silly posts like these. That would have required the TS to do a listcat on the vsam file and determine the record length range.
3. and typical of ignorant posters:
Quote: |
...the first record is a null record. |
as Enrico asked, what does that mean? there is no such thing as a null record in a vsam file. |
|
Back to top |
|
|
gileshpg
New User
Joined: 22 May 2008 Posts: 27 Location: Bangaluru
|
|
|
|
What i meant by null record is the low value record that we add to the VSAM after delete defining, so that other jobs can open the VSAM in I/O mode., else the jobs might not be able to open the VSAM as its empty. |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
I usually use a VB output from REPRO, makes life so much easier |
|
Back to top |
|
|
|