'Input Array' option at InfoShere Information Server(IIS)

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

Moderators: chulett, rschirm

Post Reply
getsatish_gk
Participant
Posts: 104
Joined: Sat Dec 24, 2005 1:26 am
Location: Bengaluru

'Input Array' option at InfoShere Information Server(IIS)

Post by getsatish_gk »

Hi all,

How to have 'Input Array' option to appear while Grouping Arguments into Structure at InfoShere Information Server(IIS) -- exposing job as web service

Datastage job is to run on Demand by external world and pass the array of data into Datastage. ie.,( use ISD output stage)
eostic
Premium Member
Premium Member
Posts: 3838
Joined: Mon Oct 17, 2005 9:34 am

Post by eostic »

The best way to do this is to instead set this up as an "always on" job that uses ISD input Stage....and then group that into an array. The WSDL will reflect an array and ISD at run time will accept multiple rows being input.

Ernie
Ernie Ostic

blogit!
<a href="https://dsrealtime.wordpress.com/2015/0 ... ere/">Open IGC is Here!</a>
getsatish_gk
Participant
Posts: 104
Joined: Sat Dec 24, 2005 1:26 am
Location: Bengaluru

Post by getsatish_gk »

I can do it by using ISD input stage.. but this will make job to run always.
the requirement is to have job invoked 'on demand' externally.

OR are you asking to use ISD stage and let it reflect an array in the WSDL document and then remove it from the job?
eostic
Premium Member
Premium Member
Posts: 3838
Joined: Mon Oct 17, 2005 9:34 am

Post by eostic »

play with setting minimum instances to zero and a fairly small timeout value....then it's theoretically always on, but starts with the first incoming request, and if never called again, will eventually shut down that instance.

Ernie
Ernie Ostic

blogit!
<a href="https://dsrealtime.wordpress.com/2015/0 ... ere/">Open IGC is Here!</a>
getsatish_gk
Participant
Posts: 104
Joined: Sat Dec 24, 2005 1:26 am
Location: Bengaluru

Post by getsatish_gk »

So, ISD input stage is a must required to have 'Input Array' option to appear while Grouping Arguments into Structure at InfoShere Information Server(IIS)?

wondering, why ETL job design can't impose IIS to have 'Input Array' at IIS
eostic
Premium Member
Premium Member
Posts: 3838
Joined: Mon Oct 17, 2005 9:34 am

Post by eostic »

That's how it was designed...and probably because there isn't much need for it.

An always on service is infinitely faster (milliseconds as opposed to seconds) than a simplistic Job that only has ISDOutput.

Further, an "always on" job is shared by anyone and everyone that invokes it......and the overhead of leaving it on is usually far less and far cheaper than having "100's of jobs launched" each time someone connects.

So in the end, it's always better to go with an always on scenario, for response time and overall resource consumption. There are exceptions, and that is what min=0 is for.

Ernie
Ernie Ostic

blogit!
<a href="https://dsrealtime.wordpress.com/2015/0 ... ere/">Open IGC is Here!</a>
getsatish_gk
Participant
Posts: 104
Joined: Sat Dec 24, 2005 1:26 am
Location: Bengaluru

Post by getsatish_gk »

Thanks a lot eostic... helped me to resolve this issue to an extent
played around the provider setting at IIS and able to accept array and run job only on demand (yet using ISD input stage)
eostic
Premium Member
Premium Member
Posts: 3838
Joined: Mon Oct 17, 2005 9:34 am

Post by eostic »

Congrats! ....that's not a "workaround" though. :). It really is an advanced use of ISD and its settings!

Ernie
Ernie Ostic

blogit!
<a href="https://dsrealtime.wordpress.com/2015/0 ... ere/">Open IGC is Here!</a>
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Resolved. :wink:
-craig

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