Page 1 of 1

DataStage 6.0: Job does not do 2 post activities

Posted: Thu Jul 12, 2007 9:30 am
by bbetl
I am trying to do 2 activities after a job runs successfully. I am putting those 2 statements in the After tab of the oracle stage. One is an Update statement and other one is calling a stored procedure. Though I am trying to update a different table after my main job is done. The SQL statement runs fine in Toad. It is kind of something below:

UPDATE DA.XXXTable
SET LAST_UPDATE_DT = TRUNC(SYSDATE)
WHERE TABLE_NAME = 'MYXXXTable';
call #pMySchema#.SomeStoredProcedure();

Though the job finishes successfully,in the log error shows up. See below

MyTableDB.MYXXXTable: ORA-00900: invalid SQL statement

Can I do 2 activities in the After tab?
Any response is appreciated. Thanks.

Posted: Thu Jul 12, 2007 1:53 pm
by ray.wurlod
No. But you could build the two into a single stored procedure.