DS jobs to be parameterized while exposed as webservi

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

Moderators: chulett, rschirm

Post Reply
adi_2_chaos
Participant
Posts: 96
Joined: Fri Apr 17, 2009 5:58 am
Location: Delhi

DS jobs to be parameterized while exposed as webservi

Post by adi_2_chaos »

Hi All,

I have exposed a datastage job as a webservice using the ISD tool. But there seems to be a doubt with the usage of parameters in the datastage job. Since any job, when deployed as webservice, is continuosly running, and it is initiated by the ISD tool, how can we pass values for the parameters, in case we may have parameterize certain values - ex. database credentials. Can anyone please guide.

Thanks,
Sriram
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Parameter values are resolved when the job is started. Therefore, as you surmise, they can not legally be changed once an always-running job is running. You need to get them right when the job is started.

It is also possible through ISD to create "on demand" jobs for infrequent access. These start only when called, so incur any startup overhead for every call. However, they can be designed to set parameter values - probably from an invoking sequence - each time they start.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

From what I recall, you assign values to the parameters using the ISD tool as well. (in the past, via the RTI console)
-craig

"You can never have too many knives" -- Logan Nine Fingers
Post Reply