How to Run SQL Job GUID after DataStage Job

Post questions here relative to DataStage Server Edition for such areas as Server job design, DS Basic, Routines, Job Sequences, etc.

Moderators: chulett, rschirm, roy

Post Reply
us1aslam1us
Charter Member
Charter Member
Posts: 822
Joined: Sat Sep 17, 2005 5:25 pm
Location: USA

How to Run SQL Job GUID after DataStage Job

Post by us1aslam1us »

Hi Dxians,

Can someone suggest me how to run a SQL server job GUID after the Successfull completion of the DataStage Job. I think i can use the Execute command stage to implement this but my confusion is:
* Whether we can run SQL Server Job GUID?
* What will be the optimized solution for this?

Thanks
sAM
I haven't failed, I've found 10,000 ways that don't work.
Thomas Alva Edison(1847-1931)
kris
Participant
Posts: 160
Joined: Tue Dec 09, 2003 2:45 pm
Location: virginia, usa

Re: How to Run SQL Job GUID after DataStage Job

Post by kris »

What do you exactly mean by running "SQL Server Job GUID"?

Is it a typo? you meant running a Job Report or something like that?
~Kris
us1aslam1us
Charter Member
Charter Member
Posts: 822
Joined: Sat Sep 17, 2005 5:25 pm
Location: USA

Post by us1aslam1us »

Sorry, I mean a SQL job script created for publishing reports.
I haven't failed, I've found 10,000 ways that don't work.
Thomas Alva Edison(1847-1931)
kris
Participant
Posts: 160
Joined: Tue Dec 09, 2003 2:45 pm
Location: virginia, usa

Post by kris »

Wrap your SQL (whatever it is that you want to call) in dos script and call it using ExecSH option in after-job subroutine.
~Kris
us1aslam1us
Charter Member
Charter Member
Posts: 822
Joined: Sat Sep 17, 2005 5:25 pm
Location: USA

Post by us1aslam1us »

I got it. Thanks
I haven't failed, I've found 10,000 ways that don't work.
Thomas Alva Edison(1847-1931)
Post Reply