How to read tilde(~) column in 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
rajikatam
Participant
Posts: 4
Joined: Thu Nov 16, 2006 2:43 am
Location: banglore

How to read tilde(~) column in sequential file

Post by rajikatam »

All

I have flatfile, in the flat file columns comine like this.

1~emp|2~ename|3~sal|
100|sam|1000
101|raj|2000
103|steve|3000


How to read and write this file into oracle table.

Please provide the solution.

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

Post by chulett »

What have you tried so far? What issues are you having?

On the surface, it's just a pipe-delimited file which shouldn't really provide any challenges in the reading dept. I'm assuming that first record is the header row and can be skipped. If there's more to this than meets the eye, please clarify for us what that might be.
-craig

"You can never have too many knives" -- Logan Nine Fingers
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Raji - were you able to solve this? Still need help with it?
-craig

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