Search found 192 matches

by ds_is_fun
Mon Oct 15, 2007 1:24 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: decimal15,8 * decimal20,4
Replies: 1
Views: 752

decimal15,8 * decimal20,4

I have a biz rule where I multiply col1 of type dec15,8 with dec20,4 and my target type is dec20,4. To avoid any possible DS warnings do I implicitly convert anything?
by ds_is_fun
Mon Oct 15, 2007 12:03 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: IsValid function usage
Replies: 1
Views: 801

IsValid function usage

Im trying to use IsValid function. The dev guide says the arguments for usage is type(string) format (string). My input column type is - string and output column type is - string But before I moved the data over to another stage I want to check if the input column type could be converted to a date o...
by ds_is_fun
Mon Oct 15, 2007 11:07 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Check for StringtoDate
Replies: 4
Views: 1863

Check for StringtoDate

How to check if StringtoDate converts successfully? The format being "yyyy-dd-mm". Thanks
by ds_is_fun
Thu Oct 11, 2007 1:32 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: NULL in where of a filter stage
Replies: 1
Views: 3590

NULL in where of a filter stage

What syntax do i throw in a filter stage while looking for a NULL value in a specific column.
IsNull(Col)
OR
??
Thx
by ds_is_fun
Tue Oct 09, 2007 10:37 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: SK generator Bigint to Target Sqlserver05 Bigint
Replies: 1
Views: 991

SK generator Bigint to Target Sqlserver05 Bigint

Im creating a surrogate key column whose datatype is Bigint. I then move this over to a target column whose type is also BigInt. In the warning message is see- Process_Run_Id: When checking operator: When binding output interface field "Process_Run_ID" to field "Process_Run_ID": ...
by ds_is_fun
Mon Oct 08, 2007 9:11 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: varchar60 to varchar40
Replies: 7
Views: 1869

Its a bug with unicode patch. I had to delete unicode description from extended and send the job over to tech support.
by ds_is_fun
Mon Oct 08, 2007 8:29 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: varchar60 to varchar40
Replies: 7
Views: 1869

I changed the column lengths to be equal on source and target side. I still get the same error - APT_CombinedOperatorController,0: [DataDirect][ODBC SQL Server Driver]String data, right truncation [DataDirect][ODBC SQL Server Driver]String data, right truncation [DataDirect][ODBC SQL Server Driver]S...
by ds_is_fun
Mon Oct 08, 2007 7:52 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: varchar60 to varchar40
Replies: 7
Views: 1869

I have certain moves from varchar(60) to varchar(40) and some char(30) to char(40) and I have applied left(colname,40) and left(colname,30). It still fails with the message below on SQl server 2005 in DS- APT_CombinedOperatorController,0: [DataDirect][ODBC SQL Server Driver]String data, right trunca...
by ds_is_fun
Fri Oct 05, 2007 4:37 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: varchar60 to varchar40
Replies: 7
Views: 1869

varchar60 to varchar40

My job aborts even Im trimming varchar60 to 1,40 when writing to target type varchar40.
Do I use something like varchar0 convert function for this too as best practice?
by ds_is_fun
Fri Oct 05, 2007 11:55 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: char to varchar
Replies: 4
Views: 2598

char to varchar

We had issues in moving data from char to varchar fields. I have trimmed all char before writing to varchar. Is there anything else I should be looking at? thx
by ds_is_fun
Fri Oct 05, 2007 11:01 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: @NULL in PX
Replies: 2
Views: 1373

@NULL in PX

I used @NULL in Server. What is the syntax in PX for same to default to Null.
Im currently defaulting by '' but that doesn't seem right to me. Thanks
by ds_is_fun
Thu Oct 04, 2007 1:29 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Combining 2 unidentical values of a column
Replies: 1
Views: 767

Combining 2 unidentical values of a column

I have 2 columns from 2 separate sources. 1. Row count from aggr stage. 2. Process_id from surrogate key gen stage. At any given point of time there would be only 1 value coming in from each of these stages. I need to combine these 2 into one row output. How could I achieve that? I tried lookup but ...
by ds_is_fun
Thu Oct 04, 2007 12:51 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Row count in aggregator stage or ??
Replies: 2
Views: 1828

Never mind! I figured it out myself! Select aggr type to "Count rows" in the stage.
by ds_is_fun
Thu Oct 04, 2007 11:02 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Row count in aggregator stage or ??
Replies: 2
Views: 1828

Row count in aggregator stage or ??

Im trying to get a best method. Looks like row count is not possible through aggr stage. Is there another way?