Search found 602 matches

by abc123
Fri Nov 11, 2016 10:10 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: get unique columns
Replies: 3
Views: 3378

You can also use Sort stage and then Remove Duplicate stage. Leave the partitioning as Auto.
by abc123
Mon Oct 10, 2016 11:15 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Parameter Set Import
Replies: 7
Views: 8116

Interesting.

Is this script file provided by Datastage?
What folder do you run it from?
by abc123
Mon Oct 10, 2016 11:02 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Duplicate entry issue - Lookup stage
Replies: 12
Views: 13521

Tony, I don't see an issue here. When you use "entire", it copies 8 times and you get the warning. When you use "hash", you don't get it because each node gets only one unique key. This is how it is supposed to work.
by abc123
Mon May 30, 2016 7:02 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Oracle Connector "After SQL statement"
Replies: 8
Views: 6579

Craig, I need to update some data in the inserted rows after all rows have been inserted into the table. That's why I need to use "After SQL statement".

Let me know what other detail you need.
by abc123
Wed May 25, 2016 8:06 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Oracle Connector "After SQL statement"
Replies: 8
Views: 6579

Thanks Teej and Craig for your responses. Craig, building a stored procedure in Oracle and calling it from Datastage is not an option. I have to do this from within the job. Teej, it has to be done after all inserts are done in Oracle connector stage. That's why I chose the "After SQL statement...
by abc123
Wed May 25, 2016 5:08 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Oracle Connector "After SQL statement"
Replies: 8
Views: 6579

I tried to raise an error by doing a SELECT into a variable from an empty table. The code hits the exception block and raises an error like it should in Oracle but when I put it in Datastage "After SQL statement", it executes fine. There are no messages in the Director. I also did the DBMS...
by abc123
Sat May 21, 2016 4:32 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Oracle Connector "After SQL statement"
Replies: 8
Views: 6579

Oracle Connector "After SQL statement"

Is there a way to see the output of:

dbms_output.put_line

in an "After SQL statement"?

It doesn't show up in the Director.
by abc123
Tue May 17, 2016 1:38 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Slowly Changing Dimension stage with Type 2
Replies: 2
Views: 3430

I guess my question is, if the rows come in that order, would
12 X
be the first row inserted and made current? Would
12 A
be the second row inserted and made current and
12 X
row expired?
by abc123
Fri May 13, 2016 11:46 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Slowly Changing Dimension stage with Type 2
Replies: 2
Views: 3430

Slowly Changing Dimension stage with Type 2

If I send 5 rows to a SCD stage with the same key for Type 2 determination, does it insert/update rows based on a certain criteria or does it do it at random? For example, if I have data like this: Business Type 2 Col Key 12 X 12 A 12 Y 12 C 12 S It sets the first 4 rows as not current and the final...
by abc123
Sun Apr 24, 2016 9:59 pm
Forum: General
Topic: shell script permission denied error
Replies: 6
Views: 5056

I did. They all have:

drwxr-xr-x

Also, when I execute:

sqlplus Userid/Pwd@SrcName < /fullpath/MySqScript.sql

from within /fullpath/, it works fine.
by abc123
Sun Apr 24, 2016 6:32 pm
Forum: General
Topic: shell script permission denied error
Replies: 6
Views: 5056

shell script permission denied error

I have an execute command stage in a sequence job. I am running the following command in the execute command stage: sqlplus Userid/Pwd@SrcName < /fullpath/MySqScript.sql When I try to execute the sequence job, I get the following error: seqJob..JobControl (@ExecCmd1): Executed: sqlplus Userid/Pwd@Sr...
by abc123
Fri Apr 22, 2016 9:55 pm
Forum: General
Topic: Abort job if the Before/After Subroutine fails
Replies: 6
Views: 4945

I am assuming that in the "Input Value" of the "Before-job subroutine", you put in something like this:

sqlplus userid/pwd@server MySql.sql;

Can you tell me how you returned a 1 from the sqlplus call?
by abc123
Thu Aug 20, 2015 7:57 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Is there a way to force a column to be SQL type of Unicode?
Replies: 9
Views: 3422

How do I enable NLS? I looked at this post:
viewtopic.php?t=104828&highlight=enabling+nls
and few others. I don't have a NLSMODE setting in my uvconfig. Do I need to uninstall and reinstall Datastage to enable NLS? Or can I check something else?
by abc123
Thu Aug 20, 2015 7:01 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Is there a way to force a column to be SQL type of Unicode?
Replies: 9
Views: 3422

rkashyap, I did that step. Still Unicode is not visible.

Ray, in the Administrator, NLS is disabled for the project. The button is grayed out.
by abc123
Thu Aug 20, 2015 5:34 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Is there a way to force a column to be SQL type of Unicode?
Replies: 9
Views: 3422

I was able to display the Extended column. I tried selecting both Char and Varchar but Unicode does not show in the Extended column. The drop down is empty.