Exposing DataStage Job as Web Service

Dedicated to DataStage and DataStage TX editions featuring IBM<sup>®</sup> Service-Oriented Architectures.

Moderators: chulett, rschirm

Post Reply
anand_chandrashekar
Participant
Posts: 2
Joined: Mon Jul 14, 2008 6:55 am

Exposing DataStage Job as Web Service

Post by anand_chandrashekar »

Hi all,

Some questions when DataStage exposes a job as a web service.

(1) I understand that this is a synchronous web service. However, this means that if a job runs for hours there is every chance that a connection timeout occurs. What happens to the job when the timeout occurs? Does it terminate?

(2) Is there a way to invoke a DS job asynchronously (but via standard integration components such as web services/proxy services etc.)?

Thanks,
Anand.
eostic
Premium Member
Premium Member
Posts: 3838
Joined: Mon Oct 17, 2005 9:34 am

Post by eostic »

...all correct...two possibilities immediately come to mind...

a) build a simple Server job that, in a Transformer, uses UtilityRunJob (can remember the exact name, but its one of the sdk utility functions that you'll find in the pull down list). Use this, or a customized version of it, to start your REAL job without the wait option. Publish this little "starter" job as the service and pass (or hard code) your jobname into it.

b) 8.1 will have support for JMS binding, which can kick off jobs also...JMS inherently supports async type functionality.

Ernie
Ernie Ostic

blogit!
<a href="https://dsrealtime.wordpress.com/2015/0 ... ere/">Open IGC is Here!</a>
eostic
Premium Member
Premium Member
Posts: 3838
Joined: Mon Oct 17, 2005 9:34 am

Post by eostic »

...all correct...two possibilities immediately come to mind...

a) build a simple Server job that, in a Transformer, uses UtilityRunJob (can remember the exact name, but its one of the sdk utility functions that you'll find in the pull down list). Use this, or a customized version of it, to start your REAL job without the wait option. Publish this little "starter" job as the service and pass (or hard code) your jobname into it.

b) 8.1 will have support for JMS binding, which can kick off jobs also...JMS inherently supports async type functionality.

Ernie
Ernie Ostic

blogit!
<a href="https://dsrealtime.wordpress.com/2015/0 ... ere/">Open IGC is Here!</a>
Post Reply