Search found 42189 matches

by chulett
Mon Mar 20, 2017 9:39 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: String to decimal, unable to get proper data
Replies: 13
Views: 2775

I for one am out of ideas as this is making no sense to me. I suspect we're missing a key piece of information, that or you've found a bug in your very old version of DataStage. Are you 'current' on fix packs for your release? Have you opened a support case? I assume it is no longer being actively s...
by chulett
Sat Mar 18, 2017 9:38 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: String to decimal, unable to get proper data
Replies: 13
Views: 2775

Help us help you. I feel like I'm a dentist here, pulling teeth. One.... at... a... time. You need to clarify what the data type is for each of these results since they've seemed to fluctuat over the course of this discussion. If a string then the size, if a decimal then precision and scale. And wh...
by chulett
Fri Mar 17, 2017 6:24 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: A single process() call can handle the complete set of input
Replies: 5
Views: 1994

No worries.

Note that I added

Code: Select all

 tags to your post since they preserve whitespace and thus formatting but they don't allow bold or italics so swapped in a couple of arrows to mark the loop. No charge. :wink:
by chulett
Fri Mar 17, 2017 1:34 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: String to decimal, unable to get proper data
Replies: 13
Views: 2775

Thanks.

What happens if you simply "trim" (with no options) the string inside the string to decimal? Meaning:

Code: Select all

StringToDecimal(Trim(Lnk_out_Unload_File.DISTR_PERC))
I'd also be curious how your decimal target is defined, the precision and scale settings.
by chulett
Fri Mar 17, 2017 9:42 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: String to decimal, unable to get proper data
Replies: 13
Views: 2775

Basically... I'm trying to clarify your exact issue is with improper data. Does it actually change the "100" to "000" or is it simply the space at the front as a decimal in the peek stage? Because the latter is not an issue at all but simply How It Works.
by chulett
Fri Mar 17, 2017 9:27 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: String to decimal, unable to get proper data
Replies: 13
Views: 2775

Re: String to decimal, unable to get proper data

while using the trim function and putting target as decimal, data will come without space like ' 000.0000' --while testing in peek stage :?: Says "without space" and yet still has one, assuming you mean "with" there as that's how the decimal data type works - that is where the s...
by chulett
Fri Mar 17, 2017 7:35 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: String to decimal, unable to get proper data
Replies: 13
Views: 2775

So... color me a bit confused. Sometimes you show "000.0000" and sometimes "100.0000". And sometimes you say "without space" and yet you show one. Is that on purpose or are one/some of them typos? Or is your trim/conversion fun question solely around it removing that &q...
by chulett
Thu Mar 16, 2017 3:25 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Pivoting columns to rows
Replies: 4
Views: 2172

A 'variable' number isn't a problem as long as you know the maximum possible... and that maximum isn't a really big number. :wink:
by chulett
Thu Mar 16, 2017 3:22 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: A single process() call can handle the complete set of input
Replies: 5
Views: 1994

Re: #1... added to the Additional Info area.
by chulett
Wed Mar 15, 2017 2:58 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: File Connector, Big Data Stages - BigInsights compatibility
Replies: 4
Views: 3848

Question for support, then. Or an English major. Or both! :wink:
by chulett
Tue Mar 14, 2017 5:58 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: File Connector, Big Data Stages - BigInsights compatibility
Replies: 4
Views: 3848

Re: File Connector, Big Data Stages - BigInsights compatibil

In the Big Data File stage documentation there is no such mention and I understand that the Big Data File Stage CAN access non BigInsights HDFS: To use the Big Data File stage, you must ensure that the stage can access the HDFS libhdfs.so shared library, its associated JAR libraries, and configurat...
by chulett
Tue Mar 14, 2017 9:38 am
Forum: General
Topic: Read a file name from a unix server in Data Stage
Replies: 3
Views: 1732

That's going to come down to what "look for" means here...
by chulett
Tue Mar 14, 2017 6:59 am
Forum: Site/Forum
Topic: Premium membership
Replies: 2
Views: 6642

And now in the correct forum.