Reg Before SQl Statement

Infosphere's Quality Product

Moderators: chulett, rschirm

Post Reply
reddy82
Participant
Posts: 29
Joined: Wed Feb 21, 2007 3:40 am
Location: mumbai
Contact:

Reg Before SQl Statement

Post by reddy82 »

Hi ,
I have a job which i need to set the some parameters in the BEFORE SQL tab of DB2 API stage

We have user defined datatypes for all the tables and while querying the these statements with our own logins to database other than our instance DB2INST1 we re having issues.

i am trying to set the following variables in before sql

SET PATH=DB2INST1;;
SET SCHEMA=DB2INST1;;

and my SQL statement is :

select * from table where varchar(field name)='????'

Before the above select statemnet executes i want to the SET variables ( mentioned above) to be executed in datastage .

I have unchecked the NON FATAL check box;

Please provide your options / suggestions so that this works

Regards,
Reddy
Reddy
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

So... is this a QualityStage job? :?
-craig

"You can never have too many knives" -- Logan Nine Fingers
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Could be... we just don't know.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
reddy82
Participant
Posts: 29
Joined: Wed Feb 21, 2007 3:40 am
Location: mumbai
Contact:

Post by reddy82 »

Hi ,

This DS server job
Reddy
reddy82
Participant
Posts: 29
Joined: Wed Feb 21, 2007 3:40 am
Location: mumbai
Contact:

Post by reddy82 »

Hi there,

Sorry i have posted this in wrong forum and will close this here and open in DS forum
Reddy
Post Reply