Which is the suitable routine to get max value from query?

A forum for discussing DataStage<sup>®</sup> basics. If you're not sure where your question goes, start here.

Moderators: chulett, rschirm, roy

Post Reply
bala.vimalan
Participant
Posts: 3
Joined: Fri Jun 27, 2014 1:49 am

Which is the suitable routine to get max value from query?

Post by bala.vimalan »

I want to select Max/Count value through a query from one oracle table in sequence job. To achieve this, I am planning to write a routine and call it in User variable stage and assign it to one variable.

Here I do not now know, which routine suits to call from user variable activity stage.
------------
Bala
IBM India

One More Try Before Can't.
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

You could use a Server job and USERSTATUS. Or a routine using DSExecute to run either a script (more control) or call sqlplus directly.
-craig

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