Page 1 of 1

Running a custom .sql file through DataStage

Posted: Tue Oct 03, 2006 8:10 am
by akshyat
Hi

I have the following environment as mentioned above with DB2 as the database.

I need to run custom .sql files from within the datastage environment without invoking any shell or script.

Is there a way to do it?

Thanks in advance for your support :)

Akshyat

Re: Running a custom .sql file through DataStage

Posted: Tue Oct 03, 2006 8:26 am
by y_suresh
You can ru thru DB2 Stage using the Custom SQL or using load sql at run time option .....


akshyat wrote:Hi

I have the following environment as mentioned above with DB2 as the database.

I need to run custom .sql files from within the datastage environment without invoking any shell or script.

Is there a way to do it?

Thanks in advance for your support :)

Akshyat

Re: Running a custom .sql file through DataStage

Posted: Tue Oct 03, 2006 9:41 am
by akshyat
[quote="y_suresh"]You can ru thru DB2 Stage using the Custom SQL or using load sql at run time option .....

Using this option can I load any sql file as a parameter from any directory on my server box ?

Re: Running a custom .sql file through DataStage

Posted: Tue Oct 03, 2006 12:21 pm
by avi21st
akshyat wrote:
y_suresh wrote:You can ru thru DB2 Stage using the Custom SQL or using load sql at run time option .....

Using this option can I load any sql file as a parameter from any directory on my server box ?
hi akshyat

for your project.. :lol: .I know you can do it from Datastage sequencer..after the DLR_ID got loaded just call the custome SQL script from a Datastage Execute Activity...

let me know you have any problem

Re: Running a custom .sql file through DataStage

Posted: Tue Oct 03, 2006 10:52 pm
by akshyat
avi21st wrote:
akshyat wrote:
y_suresh wrote:You can ru thru DB2 Stage using the Custom SQL or using load sql at run time option .....

Using this option can I load any sql file as a parameter from any directory on my server box ?
hi akshyat

for your project.. :lol: .I know you can do it from Datastage sequencer..after the DLR_ID got loaded just call the custome SQL script from a Datastage Execute Activity...

let me know you have any problem
Thanks Avishek.. :)