Generating Report automatically

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
horserider
Participant
Posts: 71
Joined: Mon Jul 09, 2007 1:12 pm

Generating Report automatically

Post by horserider »

I have almost 80 Datastage Jobs and 50 Datastag Master Sequence. I have to create the design document for each and every job and sequence.
Manually I can open each of these jobs/sequence and 'generate report' through designe but that would be time consuming.


Is there a way I can generate the design document automatically using some routine / Shell Script/ code ?

Appreciate any help.
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Search the forums for dsdesign.exe which can be scripted to do what you need. Or grab an existing script from Kim Duke's website from his Tips & Tricks section.
-craig

"You can never have too many knives" -- Logan Nine Fingers
kduke
Charter Member
Charter Member
Posts: 5227
Joined: Thu May 29, 2003 9:47 am
Location: Dallas, TX
Contact:

Post by kduke »

I think it is in DsReport.bat. I does a dsjob command to get a list of jobs then loops thru the jobs and calls dsdesign.exe for each job. I think the option is /RP for the html report of a job design. Pretty simple.
Mamu Kim
Post Reply