Conditioning for Before SQL Statement

Post questions here relative to DataStage Server Edition for such areas as Server job design, DS Basic, Routines, Job Sequences, etc.

Moderators: chulett, rschirm, roy

Post Reply
snassimr
Premium Member
Premium Member
Posts: 281
Joined: Tue May 17, 2005 5:27 am

Conditioning for Before SQL Statement

Post by snassimr »

Hi !!!

If any way to do befor SQL statement in DB depending on value of Job Parameter ?
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Not directly, no. I suppose you could put the logic in a proc and conditionally execute it inside the proc based on the value of the parameter passed to it, but whatever is in the before-sql area will always run.
-craig

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