Page 1 of 1

fast dsx

Posted: Fri Jan 19, 2007 6:47 am
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

Posted: Fri Jan 19, 2007 7:51 am
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.

Posted: Fri Jan 19, 2007 8:03 am
by DSguru2B
Excellent advice. :wink:

Posted: Fri Jan 19, 2007 3:59 pm
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.

Posted: Sat Jan 20, 2007 4:46 pm
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