issue using sequential file

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
times29
Premium Member
Premium Member
Posts: 202
Joined: Mon Sep 22, 2008 3:47 pm

issue using sequential file

Post by times29 »

Hi,
I have data which looks like below in xls file, i am using sequential file to view data

Properties are:
Record level none
Feild defaults
delimiter none
Quote none

I can see company_tcd data as meesed up and doc_num as all null



COMPANY_TCD DOC_NUM
1000 3000012010
1000 3000012010
1000 3000012010
1000 3000012010
1000 3000012010


Any idea what i should set properties too.

Thanks
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

Is this a .xls Excel file or an Excel as a .csv or text file? If the first then you need to use ODBC to read the file.
times29
Premium Member
Premium Member
Posts: 202
Joined: Mon Sep 22, 2008 3:47 pm

Post by times29 »

I converted it to .csv still same issue
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Your metadata needs to match the file format. For example, in a "csv" file you'll need to tell it the field delimiter is a comma. Since you haven't, everything goes into the first column.
-craig

"You can never have too many knives" -- Logan Nine Fingers
Post Reply