Search found 112 matches

by harryhome
Mon Oct 03, 2011 3:54 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: lookup duplicates
Replies: 9
Views: 4344

lookup duplicates

Lookup is distinct combination of key1 and key2. Now key1 and key2 both gets match from same reference dataset and same column. key1 data has no duplicates but key2 has duplicates. now when look is performed every time getting different record count as output. reference data has no duplicates. how t...
by harryhome
Tue Sep 27, 2011 2:24 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: remove null values appended to data
Replies: 15
Views: 9640

Source is db2. If I extract data to sequential file and then open that with Notepad++ it give me "ABCnullnullnull"
by harryhome
Sun Sep 25, 2011 9:57 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: remove null values appended to data
Replies: 15
Views: 9640

with
Convert("ABC "," ","") getting blank output as " "

StripWhiteSpace("ABC ") getting "ABC "

LEN("ABC ") getting 4

not sure what is this coming from db2. so special character it seems
by harryhome
Sun Sep 25, 2011 9:47 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: remove null values appended to data
Replies: 15
Views: 9640

with
Convert("ABC "," ","") getting blank output as " "

StripWhiteSpace("ABC ") getting "ABC "

LEN("ABC ") getting 4

not sure what is this coming from db2. so special character it seems
by harryhome
Sun Sep 25, 2011 9:10 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: remove null values appended to data
Replies: 15
Views: 9640

What's the output you are getting if you use trim(). Are you sure that's NULL or WHITESPACE? If it's WHITESPACE please try with Convert() or Stripwhitespaces(). Convert(" ","",inputcolumn) Those are not whitespace there are null values. also if apply trim function then still nul...
by harryhome
Sat Sep 24, 2011 10:29 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: remove null values appended to data
Replies: 15
Views: 9640

remove null values appended to data

Hi I am getting input data in dataset which in turn go created from db2 with values appened with null. looks like "ABC " Right now using trim funcation not able to remove those. length of my data is varying otherwise i can use substring. let me know how to remove null appended to data.
by harryhome
Wed Sep 21, 2011 6:52 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: design question
Replies: 6
Views: 1408

Srry in case of confusion. In example mentioned earlier Name Addresslineno Address ABC 1 xyz ABC 2 bhc ABC 3 320 DFG 1 frfd DFG 2 fgfg Output required is Name Address1 address2 address3 ABC xyz bhc 320 DFG frfd fgfg So in input i have addrs and addresslineno so in vertical pivot how so map these inp...
by harryhome
Wed Sep 21, 2011 6:37 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: design question
Replies: 6
Views: 1408

thanks now I am trying to vertical pivot.

My question is when I have addr1 addr2 and addr3 in my target. and source is having addrtxt and addrno. how to configure stage vertical pivot to populate field addr1 in target when addrno is 1 in source?
by harryhome
Wed Sep 21, 2011 6:15 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: design question
Replies: 6
Views: 1408

Re: design question

Thanks, what should be the derication in output column tab?
addrcolumn where address no = 1?
by harryhome
Wed Sep 21, 2011 6:09 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: design question
Replies: 6
Views: 1408

design question

Getting input as Name Addresslineno Address ABC 1 xyz ABC 2 bhc ABC 3 320 DFG 1 frfd DFG 2 fgfg Output required is Name Address1 address2 address3 ABC xyz bhc 320 DFG frfd fgfg please drop a note to inplemet this logic, if in sql also will do
by harryhome
Sat Mar 12, 2011 6:17 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: precision allowed in decimal datatype
Replies: 1
Views: 1184

precision allowed in decimal datatype

have source with number datatype with data 18 decimal place after decimal point.

in server we have limit of 15 precision in decimal datatype

same is the case with parallel?
by harryhome
Sat Feb 26, 2011 11:36 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Could not find input field
Replies: 4
Views: 19099

Yes need that field , what can be the reason for not reading one particular field and any workaround?
by harryhome
Sat Feb 26, 2011 10:54 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Could not find input field
Replies: 4
Views: 19099

one more observation if this transformer stage is moved to someother part in same job then still give same error on same column and all previous stages gives warning as Lookup: When checking operator: On input data set 0: When binding input schema variable "inputData": A transfer adapter i...
by harryhome
Sat Feb 26, 2011 10:04 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Could not find input field
Replies: 4
Views: 19099

Could not find input field

getting error in transformer as

Transformer: Error when checking operator: Could not find input field "INPUT_COLUMN".

while field is present in input.
by harryhome
Sat Feb 26, 2011 5:44 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: initializeFromArgs - Filter Stage
Replies: 1
Views: 3120

initializeFromArgs - Filter Stage

Getting error in Filter Stage: Filter: Error occurred during initializeFromArgs(). Filter: Parse error: Expected 'is' statement ('is true', 'is false') or boolean operator (and, or) got: "-02". Parse error: Expected 'is' statement ('is true', 'is false') or boolean operator (and, or) got: ...