Call job in other project

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
fmartinsferreira
Participant
Posts: 142
Joined: Wed Mar 24, 2004 10:51 am
Location: Brazil

Call job in other project

Post 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
kcbland
Participant
Posts: 5208
Joined: Wed Jan 15, 2003 8:56 am
Location: Lutz, FL
Contact:

Post 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.
Kenneth Bland

Rank: Sempai
Belt: First degree black
Fight name: Captain Hook
Signature knockout: right upper cut followed by left hook
Signature submission: Crucifix combined with leg triangle
Post Reply