Run SQL from DataStage jobs

Archive of postings to DataStageUsers@Oliver.com. This forum intended only as a reference and cannot be posted to.

Moderators: chulett, rschirm

Locked
admin
Posts: 8720
Joined: Sun Jan 12, 2003 11:26 pm

Run SQL from DataStage jobs

Post by admin »

Is there a way to execute a sequential file which contains several SQL statements within a DataStage job?

What we have is a file we run manually each day to count changed/inserted rows in our Oracle database for various tables. It would be nice to automate this procedure. One theory was to have this simple text file "Run" at the end of the last job in our daily jobstream. Weve used the ExecDOS command before, but cant seem to find a command or method to run something on our Oracle box. Were running DataStage 3.1 on an NT Server.

Any ideas?

Thanks.

Brad Vincent
Compuware Corporation
c/o The Detroit Medical Center
Data Warehousing with a "health"-y spin
(313) 966-2176
Locked