Search found 26 matches

by DataStage_Sterling
Thu Aug 08, 2013 9:08 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Losing the compiled status from a compiled job.
Replies: 4
Views: 2488

There were two instances (not an exhaustive list. Check similar topics in this forum) in which the jobs compile, however they show as Not Compiled in Director 1. We are using User defined admin env variables so that they can be changed when the jobs are moved across environments. We are also includi...
by DataStage_Sterling
Thu Aug 08, 2013 8:46 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: SQL Server ODBC connector Exception
Replies: 8
Views: 17174

I came across this error and found where the problem is. I used a parmeter set variable directly in the job without including the paramter set itself in the job parameters (job properties). While this may be only one of many reasons why this could occur, I am posting it here so that it is beneficial...
by DataStage_Sterling
Tue Aug 06, 2013 3:04 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Calling a stored procedure in Oracle Connector stage
Replies: 12
Views: 9371

You are right. I did not use RAISE_APPLICATION_ERROR. I am a Oracle novice. Forgive my ignorance. Looking back at your posts, I feel I should have paid more attention to the string in upper case. Thanks for your patience.
by DataStage_Sterling
Tue Aug 06, 2013 11:59 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Calling a stored procedure in Oracle Connector stage
Replies: 12
Views: 9371

In the stored procedure, when the exception handling is removed, DataStage aborts with error ORACLE_STAGE: The following SQL statement failed: call sp_trunc_table('test1623'). ORACLE_STAGE: The OCI function executeDirect returned status -1. Error code: 942, Error message: ORA-00942: table or view do...
by DataStage_Sterling
Tue Aug 06, 2013 7:44 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Calling a stored procedure in Oracle Connector stage
Replies: 12
Views: 9371

We are using DataStage 8.7.0.1. Thank you for your inputs.
by DataStage_Sterling
Tue Aug 06, 2013 7:27 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Calling a stored procedure in Oracle Connector stage
Replies: 12
Views: 9371

Thanks Craig. I just went by the description in Oracle connector stage "Fail on error for Before SQL Statement - Select Yes to stop the job if the Before SQL statement fails". I modified the SP to raise an exception and tested in SQL Developer. Following is the (custom) exception thrown no...
by DataStage_Sterling
Mon Aug 05, 2013 8:00 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Calling a stored procedure in Oracle Connector stage
Replies: 12
Views: 9371

Yes, the above command/error is from sql developer client with the user id (both DataSage and Oracle SQL Developer)
by DataStage_Sterling
Mon Aug 05, 2013 7:47 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Calling a stored procedure in Oracle Connector stage
Replies: 12
Views: 9371

Command:
exec sp_trunc_table('Ora 00942');

Result:
"ORA-00942: table or view does not exist"
by DataStage_Sterling
Mon Aug 05, 2013 2:43 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Calling a stored procedure in Oracle Connector stage
Replies: 12
Views: 9371

Calling a stored procedure in Oracle Connector stage

Job design Sequential file - Transformer - Oracle Connector stage Oracle table needs to be truncated but the load userid do not have permissions to truncate and load the table. So the DBAs suggested an alternative approach to use a stored procedure that they will grant acess to and use it to truncat...
by DataStage_Sterling
Wed Jul 17, 2013 2:13 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Error in DataStage job with SAP BW Load
Replies: 1
Views: 3071

Re: Error in DataStage job with SAP BW Load

This issue is resolved. Everything was successful from DataStage. Because of previous failures (we were still setting up the RFC Connection when these failures occurred), SAP was still waiting on previous requests to be completed. They reset SAP load and it was all successful. Thank you for viewing ...
by DataStage_Sterling
Wed Jul 17, 2013 10:05 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Error in DataStage job with SAP BW Load
Replies: 1
Views: 3071

Error in DataStage job with SAP BW Load

Hi, Here is the job design (Say Job A) Seq File -> Lookup with a database -> Transformer -> SAP BW Load Type of SAP BW Load is "Pull". So it was started from SAP and then DataStage job completed successfully, the status is Finshed. However in SAP, the job does not complete but keeps runnin...