Search found 91 matches

by suse_dk
Fri Oct 07, 2011 12:29 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: duplicate issue
Replies: 8
Views: 1974

There is no criteria for which duplicate is choosen - it is just the first one encounted that the match will be performed on.

So, unless you want multiple rows in the output, then you should remove duplicates in either a sort or remove duplicate stage, where you can define the criteria
by suse_dk
Wed Sep 28, 2011 6:51 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: NLS - Unable to see Chinese characters
Replies: 3
Views: 1858

If you look into your Oracle DB - then how does your source data appear? (if you have a lot of ??? there I guess you know why you have it in your target also) Speciel characters are many times not viewable using the "view" function in datastage. Try to output the result to a flat file and ...
by suse_dk
Wed Sep 28, 2011 12:41 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: runLocally() did not reach EOF on its input data set 0
Replies: 9
Views: 7114

The only way to read a state file is using the SKG stage and dumping the output to the log.
by suse_dk
Mon Sep 26, 2011 10:57 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: look up Stage Error
Replies: 2
Views: 2510

What is the source stage for the reference data (ID column)? Seq file stage? Connector? Are you able to view data from there?
by suse_dk
Sun Sep 25, 2011 11:58 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: runLocally() did not reach EOF on its input data set 0
Replies: 9
Views: 7114

Have you tried to generate a new state file for the job (one that has not been updated by the SCD stage) to check if that removes the warning?
by suse_dk
Sun Sep 25, 2011 11:15 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Using DataStage to find Hex Values in an ASCII text file
Replies: 6
Views: 4400

UltraEdit (hex editor) is available as a free triel version here http://www.ultraedit.com/downloads.html
by suse_dk
Fri Sep 23, 2011 2:33 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: SQL Server EE Stage WRITE method not supporting BIT datatype
Replies: 1
Views: 895

I can't answer why - but I know it is not supported in a read operation from a sequential file either. But it must be defined as a smallint, int or NChar(1) in order to get the right result.
by suse_dk
Fri Sep 23, 2011 2:29 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Default to Zero after lookup for Null feilds
Replies: 2
Views: 1538

If you want a null value from your lookup operation the field needs to be nullable on both the input and output side - otherwise it will default to 0 for a integer
by suse_dk
Thu Sep 22, 2011 4:09 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: scenario
Replies: 3
Views: 2966

you can use the Padstring function on your string. It enables you to define a optional pad character and lenght
by suse_dk
Thu Sep 22, 2011 12:56 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Issue while inserting to SQL server table
Replies: 15
Views: 13239

For me it looks like you are trying to put a varchar into a datetime... where exactly are you doing your type conversion? - in a transformer?
by suse_dk
Wed Sep 21, 2011 12:50 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Pre-look up condition Failing even values are matching
Replies: 9
Views: 2598

The condition should be alright.

Try to set the lookup failure options to continue and view the result in a peak stage - Do you have a lookup match where your condition is true?
by suse_dk
Wed Sep 21, 2011 8:18 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Is Sorting in DataStage Required when Selecting from DB
Replies: 7
Views: 8279

Yes... you can harness the power of DB sorting in your DS job... HOWEVER... you'll need to consider... #1. If you have to join to sources then you need to have your data key partitioned, and a re-partitioning can destroy your sort order. #2. Database collation vs. DS project collation. The sorting o...
by suse_dk
Wed Sep 21, 2011 5:50 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Issue while inserting to SQL server table
Replies: 15
Views: 13239

You need to tell DS what your timestamp from the source looks like...

The format for '8-29-2011 5:26:03AM' is not '%yyyy-%mm-%dd %hh:%nn:%ss'