Page 1 of 1

Call job in other project

Posted: Fri May 14, 2004 6:18 pm
by fmartinsferreira
I have 2 projects and when finished one specific job in project 1 I need to call other specific job in project 2.
Does anybody knows how to do this?

Fernando Martins

Posted: Fri May 14, 2004 8:55 pm
by kcbland
You have to use the dsjob command line program. There's no way using any API or job sequence to run a job in another project. However, dsjob command line uses a server, userid, password, and project on the command line, which should give you what you need. You'll have to write your own job control using dsjob.

Another method is to use an externalized scheduler that can coordinate running jobs/jobstreams. Again, you'll be using dsjob to have a command line interface for starting jobs.