Hello,
I'd like to run DataStage job from a scheduler written in java (quartz) and I'd like to know if there is an API somewhere for calling DataStage jobs in a java program.
Thanks for your response.
Calling a DataStage job from a java program
Moderators: chulett, rschirm, roy
Your best bet, for pure scheduling, is probably to use the JNI to ultimately issue your call via the widely used "Job Control" API, which is available for C++.
ERnie
ERnie
Ernie Ostic
blogit!
<a href="https://dsrealtime.wordpress.com/2015/0 ... ere/">Open IGC is Here!</a>
blogit!
<a href="https://dsrealtime.wordpress.com/2015/0 ... ere/">Open IGC is Here!</a>
Thanks eostic.
My problem is I'm not sure I will have a client on the computer I will run the java webserver.
I've read somewhere on dsxchange that we can turn some DS jobs into webservices. I looked into the official documentation bundled with Datastage but I only found how to use webservice inside a job and not turning a job into a webservice.
Can somebody help me with this issue ?
My problem is I'm not sure I will have a client on the computer I will run the java webserver.
I've read somewhere on dsxchange that we can turn some DS jobs into webservices. I looked into the official documentation bundled with Datastage but I only found how to use webservice inside a job and not turning a job into a webservice.
Can somebody help me with this issue ?
Calling a DataStage job from a java program
Hello
could you please share the details of how you used the ssh connection to invoke the datastage job on the remote server.
Thanking you in advance.
could you please share the details of how you used the ssh connection to invoke the datastage job on the remote server.
Thanking you in advance.
Sam
IBM Global Services
IBM Global Services
Hello sambarand,
I doubt there's much more to say but I can give you some details.
The ganymed-ssh2 library (first result with google) is supplied with docs and examples. I used those docs and examples to build my java class.
For the ssh command, I simply used the dsjob command with the good parameters for invoking my job.
The rest is up to you. I can give you some more help if you are blocked somewhere, but I can't give you my code :p
I doubt there's much more to say but I can give you some details.
The ganymed-ssh2 library (first result with google) is supplied with docs and examples. I used those docs and examples to build my java class.
For the ssh command, I simply used the dsjob command with the good parameters for invoking my job.
The rest is up to you. I can give you some more help if you are blocked somewhere, but I can't give you my code :p