Search found 36 matches

by theone
Thu May 26, 2011 7:12 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Decimal error while compiling
Replies: 5
Views: 2958

I did not use any stage variables.. I know how to handle it using MLOAD but as of now I am using fastload..
by theone
Wed May 25, 2011 8:08 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Decimal error while compiling
Replies: 5
Views: 2958

Thanks Ray, as I mentioned it is Decimal (8,0).. is it okay if I have a non zero value in precision?
by theone
Mon May 23, 2011 9:32 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Decimal error while compiling
Replies: 5
Views: 2958

Decimal error while compiling

I receive error "Parsing parameters "0,0" for schema type "decimal": Precision must be > 0 and <= 255" while compiling the job I have source field CODE_ID as decimal (8,0) in oracle and target as CODE_ID as decimal (8,0) in teradata with fastload utility as the table is...
by theone
Fri Jul 02, 2010 5:10 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to capture return code from a script and fail the Sequen
Replies: 5
Views: 2087

I did that in a custom defined server routine and calling it as before job sub routine
by theone
Fri Jul 02, 2010 1:45 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to capture return code from a script and fail the Sequen
Replies: 5
Views: 2087

I checked the form and found the syntax

"Call DSExecute('UNIX',Script A,Output,Error)"

I am using following :

Call DSU.ExecSH("/export/ds/xyz/abctest.sh", ErrCode)
If ErrCode <> 0
Then Call DSLogFatal("failed", rtnName)


am i doing the right way?
by theone
Fri Jul 02, 2010 8:13 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to capture return code from a script and fail the Sequen
Replies: 5
Views: 2087

How to capture return code from a script and fail the Sequen

I have BTeq script in a routine activity sequence, based on the return value how can I fail the Sequence?
by theone
Mon Nov 23, 2009 12:12 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Oracle Enterprise stage not inserting records
Replies: 17
Views: 4577

I understand the insert fails and update went good, it could be possible cause of violation of constraints. It shows up in the log and here the case is failure of inserts so it should be saved in the log
by theone
Mon Nov 23, 2009 11:32 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Oracle Enterprise stage not inserting records
Replies: 17
Views: 4577

If it is is Windows check the installation folder, IBM/Information Server/Server/Scratch
by theone
Mon Nov 23, 2009 10:32 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Oracle Enterprise stage not inserting records
Replies: 17
Views: 4577

can you identify the cause for that by spliting the job into 2 jobs, do insert in one stage and then update later or vice versa? that could get you to the core cause.
by theone
Mon Nov 23, 2009 10:26 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Oracle Load Problem
Replies: 5
Views: 3359

Parallel loading into oracle table with indexs will make break indexs, you have to use conventiaonal way to load into that, you can use environmental variable APT_ORACLE_LOAD_OPTIONS = OPTIONS(DIRECT=FALSE,PARALLEL=FALSE)
by theone
Tue Nov 17, 2009 10:01 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Unusable Index Issue
Replies: 12
Views: 4977

In Job properties-->environmental variable--->Operator Specific---> APT_ORACLE_LOAD_OPTIONS(right now the Value box is empty) and set the values as (DIRECT=FALSE,PARALLEL=FALSE)
by theone
Mon Nov 16, 2009 2:41 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Unusable Index Issue
Replies: 12
Views: 4977

Enter Environmental variable APT_ORACLE_LOAD_OPTIONS as (DIRECT=FALSE,PARALLEL=FALSE) and do not provide any index options at load. That should work.
by theone
Fri Nov 13, 2009 9:07 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Oracle Loads with Trigger and Constraints enabled
Replies: 8
Views: 6747

I figured it out, thank you!!!
by theone
Fri Nov 13, 2009 8:45 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Oracle Loads with Trigger and Constraints enabled
Replies: 8
Views: 6747

Thank you for the help, to switch to a conventional load (DIRECT=FALSE) is that a datastage option or an oracle setting?
by theone
Thu Nov 12, 2009 3:45 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Oracle Loads with Trigger and Constraints enabled
Replies: 8
Views: 6747

Complete Error:

SQL*Loader-937: Parallel load requested and XYZ has enabled triggers or constraints.

Thank you.