SEQ File Issue

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
dudam
Participant
Posts: 11
Joined: Sun Feb 27, 2011 9:40 am

SEQ File Issue

Post by dudam »

Hi All,

My Source as Seq File
source data is like 9 "012 "34

I Need my out as -->901234

and need to do Seq file itself dont use any other stag

Plz help me ..

Thanks
DN
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Re: SEQ File Issue

Post by ray.wurlod »

dudam wrote: need to do Seq file itself dont use any other stag
Why?

It seems to me that this violates the "one task, one stage" philosophy for parallel jobs.

You could use a filter command in the Sequential File stage (such as tr for example) to eliminate the quote and space characters.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
prasannakumarkk
Participant
Posts: 117
Joined: Wed Feb 06, 2013 9:24 am
Location: Chennai,TN, India

Post by prasannakumarkk »

In the before job subroutine, use the sed command to replace double quotes with nothing.
Thanks,
Prasanna
Post Reply