Converting Data Set to sequential 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
pkothana
Participant
Posts: 50
Joined: Tue Oct 14, 2003 6:12 am

Converting Data Set to sequential file

Post by pkothana »

Hi,
Is there any command line utility or utility provided by Data Stage which can convert Data Sets to Sequential files?

Also wanted to know, which occupies more space Data Sets or Sequential files?

Appreciate if anybody can help me in this.

Thanks & Regards
Pinkesh
Teej
Participant
Posts: 677
Joined: Fri Aug 08, 2003 9:26 am
Location: USA

Re: Converting Data Set to sequential file

Post by Teej »

pkothana wrote:Is there any command line utility or utility provided by Data Stage which can convert Data Sets to Sequential files?

Also wanted to know, which occupies more space Data Sets or Sequential files?
Yup!

dsjob -project RunMe -job ConvertDataSet -param input -param output

(oh yeah, you would need to create a job "ConvertDataSet" in a project "RunMe" that have a Dataset stage ---> sequential file output. But then we'll have to deal with the different column formats. Hmm. Now that is the first valid use of Column Propagation!)

And sequential files should generally be slightly smaller than datasets.

-T.J.
Last edited by Teej on Wed Dec 10, 2003 10:39 am, edited 1 time in total.
Developer of DataStage Parallel Engine (Orchestrate).
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Gosh, almost word for word the answer I was going to give! :lol:
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
vzoubov
Participant
Posts: 28
Joined: Tue Feb 05, 2002 12:30 pm
Location: Boston, MA

Re: Converting Data Set to sequential file

Post by vzoubov »

pkothana wrote:Hi,
Is there any command line utility or utility provided by Data Stage which can convert Data Sets to Sequential files?

Also wanted to know, which occupies more space Data Sets or Sequential files?

Appreciate if anybody can help me in this.

Thanks & Regards
Pinkesh
Yes, there is such a utility in DataStage. It's called orchadmin and is located in $APT_ORCHHOME/bin. orchadmin does many usefull things besides dumping datasets. Type orchadmin -help for usage information.

Vitali.
Teej
Participant
Posts: 677
Joined: Fri Aug 08, 2003 9:26 am
Location: USA

Re: Converting Data Set to sequential file

Post by Teej »

vzoubov wrote:Yes, there is such a utility in DataStage. It's called orchadmin and is located in $APT_ORCHHOME/bin.
:shock:

Uh... yeah, I knew that. *whistles innocently as he furiously type in the commands and start researching ... somethine else.*

-T.J.
Developer of DataStage Parallel Engine (Orchestrate).
Post Reply