Page 1 of 1

Error reading EBCDIC file using CFF stage.

Posted: Tue Nov 22, 2011 9:35 pm
by vskr72
After importing the defns, I tried to convert an mainframe file to seq file, I am getting the following errors:

Code: Select all

Complex_Flat_File_9,0: Import consumed only 285bytes of the record's 574 bytes (no further warnings will be generated from this partition)
Complex_Flat_File_9,0: Import warning at record 0.
Complex_Flat_File_9,0: Input buffer overrun at field "AC_NBR", at offset: 0
Complex_Flat_File_9,0: Input buffer overrun at field "AC_CENTER_DESC", at offset: 124
Complex_Flat_File_9,0: Missing record delimiter "
", saw EOF instead
Not sure where the problem is. When I view it thru CFF, then the whole data seems to shift by few positions. Pls advice.

Posted: Wed Nov 23, 2011 12:10 am
by ray.wurlod
Have you set the "A margin" (location of level 01 item) correctly when importing the COBOL FD?

Are you totally certain that the COBOL FD you have is the one that describes the data you have?

Posted: Wed Nov 23, 2011 10:21 pm
by vskr72
Sorry, for the late reply. I did not do any special thing when I imported the Cobol FD. It did not throw any error when it imported the FD. Your 2nd question makes me think that if I am really using the right metadata file.

Just a silly Q - is there anyway that I can confirm by looking at the data portion to see if its the right one. Thank you.

Kumar

Posted: Wed Nov 23, 2011 11:18 pm
by ray.wurlod
Only experience.

Posted: Thu Nov 24, 2011 8:56 am
by chulett
... or perhaps another set of eyeballs.

Posted: Thu Nov 24, 2011 1:51 pm
by ray.wurlod
... experienced eyeballs, maybe.

Posted: Thu Nov 24, 2011 2:59 pm
by chulett
... but of course! :D