Copying Dataset Data into a 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
Raamc
Premium Member
Premium Member
Posts: 87
Joined: Mon Aug 20, 2007 9:08 am

Copying Dataset Data into a Sequential file

Post by Raamc »

Hi All,

Is there any way to copy the dataset data into a sequential file?

I need to write a UNIX script which will accept dataset name as input parameter, read that dataset and copy the data into a specified sequential file.

Is it possible to do this using shell scripting?
Thanks,
Raamc
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Yes, but you must use the orchadmin command (dump option) which, in turn, means that the script must set APT_CONFIG_FILE and APT_ORCHHOME at a minimum.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Raamc
Premium Member
Premium Member
Posts: 87
Joined: Mon Aug 20, 2007 9:08 am

Post by Raamc »

Thanks Ray, I got it now.
Thanks,
Raamc
Post Reply