RE:Getting Job info from Dos Prompt

A forum for discussing DataStage<sup>®</sup> basics. If you're not sure where your question goes, start here.

Moderators: chulett, rschirm, roy

Post Reply
kris18
Charter Member
Charter Member
Posts: 46
Joined: Mon Nov 13, 2006 9:53 am
Location: United States

RE:Getting Job info from Dos Prompt

Post by kris18 »

Guys,
How can we get Job info from dos script.
For example if I want to run a query like SELECT CATEGORY FROM DS_JOBS WHERE NAME="EXAMPLE".. what utility can I use..

For Example we have a dos script for exporting a set of jobs by using the "dsexport" utility..

Thanks.
kris
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Urgh. Given that your server is UNIX, you are in for a messy path. You need to remotely execute a dssh command with in which you can execute the SQL.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
kris18
Charter Member
Charter Member
Posts: 46
Joined: Mon Nov 13, 2006 9:53 am
Location: United States

Post by kris18 »

Ray,
Can you tell me how I need to proceed to remotely execute a dssh command..

Thanks
kris
Post Reply