Read from begging of a charecter till EOF

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
chetan.c
Participant
Posts: 112
Joined: Tue Jan 17, 2012 2:09 am
Location: Bangalore

Read from begging of a charecter till EOF

Post by chetan.c »

Hi,

In a file if i have data like this.

Col1
It costs me $100 for books.


How to read from "$" till the end of file?.

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

Post by ray.wurlod »

Find the location of the "$" character, skip forward one character, and read the remainder.

Did you want to do this with an operating system command, a DataStage job or a DataStage routine?
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Post Reply