Running a custom .sql file through DataStage

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
akshyat
Participant
Posts: 5
Joined: Thu Sep 28, 2006 12:31 pm

Running a custom .sql file through DataStage

Post 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
y_suresh
Participant
Posts: 12
Joined: Wed Oct 06, 2004 1:16 pm

Re: Running a custom .sql file through DataStage

Post 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
akshyat
Participant
Posts: 5
Joined: Thu Sep 28, 2006 12:31 pm

Re: Running a custom .sql file through DataStage

Post 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 ?
@AXE
avi21st
Charter Member
Charter Member
Posts: 135
Joined: Thu May 26, 2005 10:21 am
Location: USA

Re: Running a custom .sql file through DataStage

Post 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
Avishek Mukherjee
Data Integration Architect
Chicago, IL, USA.
akshyat
Participant
Posts: 5
Joined: Thu Sep 28, 2006 12:31 pm

Re: Running a custom .sql file through DataStage

Post 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.. :)
@AXE
Post Reply