fast dsx

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
fmartinsferreira
Participant
Posts: 142
Joined: Wed Mar 24, 2004 10:51 am
Location: Brazil

fast dsx

Post by fmartinsferreira »

I have 350 jobs in my project.

70 parallel and 280 others.

I need to generate a ".dsx" with only the parallel jobs.

What is the best way to do this?

I know that I can generate by Manager, but is very hard append 1 by 1.

I there any DataStage Administrator command, TCL prompt, that can I do this fast?

Regards,

Fernando
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

Fernando,
I think I would create a complete export .DSX file with all the jobs, then remove all non-parallel jobs from the export file - either by writing a DS job to do this or a macro in my favorite text editor (EMACS, since I can barely call up and exit VI)

In the .DSX export file each job starts with the line "BEGIN DSJOB" and ends with the line "END DSJOB". In each of these blocks there is a line that reads 'JobType "3"' for PX jobs and 'JobType "2"' for Server jobs.
DSguru2B
Charter Member
Charter Member
Posts: 6854
Joined: Wed Feb 09, 2005 3:44 pm
Location: Houston, TX

Post by DSguru2B »

Excellent advice. :wink:
Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep.
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Use categories. Segregate the parallel jobs using categories. Export only those categories.

You can drag/drop jobs between categories - you could even restore them to their original locations later. 70 is not a huge number.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
fmartinsferreira
Participant
Posts: 142
Joined: Wed Mar 24, 2004 10:51 am
Location: Brazil

Post by fmartinsferreira »

ray.wurlod wrote:Use categories. Segregate the parallel jobs using categories. Export only those categories.

You can drag/drop jobs between categories - you could even restore them to their original locations lat ...
Thanks,

Fernando
Post Reply