Job export utility

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
nirdesh2
Participant
Posts: 56
Joined: Thu Nov 20, 2008 12:18 pm
Location: Noida

Job export utility

Post by nirdesh2 »

We have 100 jobs in dev environment and we have to move all the job in test environment. We have to export single job at a time. we cant take the export of full project at a time(This is the requirement). Is there any command or utility that can be used to take export of all the jobs(one job at a time) from a project..
Nirdesh Kumar
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

All the jobs one at a time? You'll need to script that, extract a list of job names and then iterate through that list, exporting each one.
-craig

"You can never have too many knives" -- Logan Nine Fingers
nirdesh2
Participant
Posts: 56
Joined: Thu Nov 20, 2008 12:18 pm
Location: Noida

Post by nirdesh2 »

I am looking for that script...If some one can provide some idea or sample script then it will be very helpfull.Can someone provide necessary ds command that needs to be used in script..
Nirdesh Kumar
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

dsjob -ljobs and dsexport are what you'd need.
-craig

"You can never have too many knives" -- Logan Nine Fingers
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Resist stupid requirements.

Make one export and make use of DataStage's ability to perform partial import of the contents of the export file.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
kduke
Charter Member
Charter Member
Posts: 5227
Joined: Thu May 29, 2003 9:47 am
Location: Dallas, TX
Contact:

Post by kduke »

Amen brother.
Mamu Kim
Post Reply