How to deal with variable columns flat file

Post questions here relative to DataStage Server Edition for such areas as Server job design, DS Basic, Routines, Job Sequences, etc.

Moderators: chulett, rschirm, roy

Post Reply
satish_valavala
Participant
Posts: 123
Joined: Wed May 18, 2005 7:41 am
Location: USA

How to deal with variable columns flat file

Post by satish_valavala »

Hi,

I have a comma delimited flat file with variable columns (not sure about the number of columns in each record, i.e., each record may atleast have 90 columns or more). I have to extract the file and use first 90 columns for our process. We may require rest of the columns for future process.

I appreciate any help on this.

Thanks
VS
Regards
VS
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Define the first 90 columns and enable the 'Ignore truncation warnings' option.
-craig

"You can never have too many knives" -- Logan Nine Fingers
kumar_s
Charter Member
Charter Member
Posts: 5245
Joined: Thu Jun 16, 2005 11:00 pm

Post by kumar_s »

And mentioned the last column as a single Varchar(255). Which could include the rest of all columns.
Impossible doesn't mean 'it is not possible' actually means... 'NOBODY HAS DONE IT SO FAR'
satish_valavala
Participant
Posts: 123
Joined: Wed May 18, 2005 7:41 am
Location: USA

Post by satish_valavala »

Thanks all
Regards
VS
Post Reply