Page 1 of 1

Sequential Files in PX

Posted: Wed Jan 09, 2008 7:16 am
by mc_harsha
Hi,

Error Message:
S1A3_ITEM_LOC_WK,0: Import consumed only 24bytes of the record's 25 bytes (no further warnings will be generated from this partition)

Any info why we will get above type of error?

with regards,
harsha

Posted: Wed Jan 09, 2008 7:19 am
by Maveric
Do an exact search on "Import consumed only". This has been answered a lot of time.

Posted: Wed Jan 09, 2008 7:45 am
by ArndW
With just a 1 byte difference my guess would be line terminators in UNIX - they probably were not specified in the file format.

Posted: Wed Jan 09, 2008 4:55 pm
by ray.wurlod
... or that the file came from Windows, and has a two-character record terminator string. As noted, this question has been answered before.

Posted: Wed Jan 09, 2008 11:27 pm
by mc_harsha
You are right..... Windows Seq file...

File End Delimiter : None

Posted: Wed Jan 09, 2008 11:31 pm
by ray.wurlod
Use Record Delimiter String property, set to "DOS-style", rather than Record Delimiter property.

Posted: Thu Jan 10, 2008 12:29 am
by mc_harsha
Thanks for you response.

What i did:
From Oracle Table Imported into Excel using sql developer, then converted into CSV file.(Windows operating system)

Now here using as source file.

Using Record delimiter string=Dos format, getting the following warning

S1A2_ITEM_LOC_DC_NONWK1,0: Input buffer overrun at field "ITEM"
S1A2_ITEM_LOC_DC_NONWK1,0: Import warning at record 0:
S1A2_ITEM_LOC_DC_NONWK1,0: Import unsuccessful at record 0:

Now unable to view the data itself in the seq stage.

Previously using final delimiter = none, able to view the data.

-In my mind, Because of the final delimiter, i am getting the above error.

What could be the problem?

Posted: Thu Jan 10, 2008 2:09 am
by ray.wurlod
Not final delimiter - this appears between the data and the record delimiter.

Now read my previous post again.

Posted: Thu Jan 10, 2008 3:28 am
by mc_harsha
thanks buddy....

Got you....working fine :D

Posted: Thu Jan 10, 2008 4:32 am
by ray.wurlod
Time to mark the thread as Resolved, then?