Search found 402 matches

by Ultramundane
Fri Apr 07, 2006 2:03 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Problem in aggregating decimal value
Replies: 2
Views: 2788

Re: Problem in aggregating decimal value

I tried too. It doesn't work. I would call this a bug as it lets you select the target decimal length by selecting the subtype "Decimal output". However, when you change this (at least in my case) the job completes successfully and nothing gets loaded. Always nice. I was able to get to wor...
by Ultramundane
Fri Mar 24, 2006 1:54 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Decimal problem
Replies: 6
Views: 2242

Just got patched that fixed. Ecase 91460.

Tx.
by Ultramundane
Thu Mar 23, 2006 8:59 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Horizontal Pivot
Replies: 10
Views: 5042

DJM's solution he provided earilier is much faster. I find it more difficult to read, but it runs in .5 seconds. I think he was being modest by saying 3 lines because his solution will fit on one line very nicely. DJM's solution modified by Ryan. awk 'BEGIN {FS=";"; OFS=";";} { g...
by Ultramundane
Thu Mar 23, 2006 8:44 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Decimal problem
Replies: 6
Views: 2242

Scale is empty. I have tried to specify a scale, but Ascential blanks out a 0. I tried to import and get same thing. I have placed a call with Ascential and they thought it was pretty serious. They give me a P1 case.

Thanks for your help,
Ryan
by Ultramundane
Thu Mar 23, 2006 8:42 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Horizontal Pivot
Replies: 10
Views: 5042

I will say that this 3 liner below is much easier to read, but is much slower. It takes 1.5 seconds for a 70000 record test I ran vs. the longer version which takes only 1 second. The mulitple delimeters have my head spinning. ## Author Ryan T. Putnam awk 'BEGIN {FS=";"; OFS=";";...
by Ultramundane
Thu Mar 23, 2006 10:15 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Decimal problem
Replies: 6
Views: 2242

Decimal problem

Using ODBC Enterprise Stage if I use the metadata that was imported, Ascential corrupts my decimal values that do not have any precision. That is, I have decimal(18, 0) columns and Ascential corrupts the values and sets them to 2147483647 or -2147483648. If I change the datatype in Ascential to Deci...
by Ultramundane
Wed Mar 22, 2006 12:02 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Horizontal Pivot
Replies: 10
Views: 5042

Re: Horizontal Pivot

I don't know how to do this with pivot stage. However, you could: Use a sequential file stage with a delimeter that does not occur in the file. Maybe \xF8 Also, set Quote to none. Store this in one column. Example col1 varchar without any length. Send col1 down a link to an external filter. Run this...
by Ultramundane
Tue Mar 14, 2006 12:42 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Can dsjob be copied and ran remotely?
Replies: 2
Views: 1000

Thanks. For the most part that worked. I copied dsjob and got an error that libvmdsapi.so could not be found. So, I copied that too and updated my libpath to the desitination path. It worked after that. Just needed to specify -server <server> -user <user> -password <password> properties for the comm...
by Ultramundane
Tue Mar 14, 2006 10:32 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Can dsjob be copied and ran remotely?
Replies: 2
Views: 1000

Can dsjob be copied and ran remotely?

I would like to bundle dsjob and other files needed so that dsjob can be run from other unix boxes for some event driven actions at warehouses such as end of day/books close. I am curious if this can be done, how it can be done, and any known issues with this approach. Or, if there is a better appro...
by Ultramundane
Thu Mar 02, 2006 2:56 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Insert and update the records to sqlserver
Replies: 17
Views: 8151

You could add a column with the datatype "timestamp/ROWVERSION" (I believe will work in both MSSQL and Sybase). This system column type stores the database timestamp automatically for you when an insert or an update is done to the table. If you keep track of this varbinary you can use it d...
by Ultramundane
Tue Feb 28, 2006 9:07 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Datasets having 30 M worth of data
Replies: 5
Views: 2161

Re: Datasets having 30 M worth of data

Could anyone comment on the size limitaions of using datasets. Any recommendations on the design of the Lookups. Just one gotcha that I know about. In version 7.0.1 (I believe) of datastage, Ascential changed the way that they allocate space for varchar columns. Datastage will allocate the full spa...
by Ultramundane
Tue Feb 28, 2006 9:06 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Pattern Matching in Filter Stage
Replies: 9
Views: 4619

Unfortunately is does not support extended regular expressions. If it did, the following could have been used to get the not.

source_cd LIKE '!(abc).*'

However, since NOT takes a boolean, you can use
NOT(source_cd LIKE 'abc.*')

Thanks,
Ryan
by Ultramundane
Tue Feb 28, 2006 8:48 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Pattern Matching in Filter Stage
Replies: 9
Views: 4619

This is a regular expression. When using * you the preceding element is used to specify what to apply the * to. In a regular expression a * means zero or more of something. And, a . (period) indicates any character. Thus, I would expect that 'abc.*' would work. This should/would mean the string that...
by Ultramundane
Wed Feb 22, 2006 4:24 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Datastage Aggregator operation Vs Stored Procedures(PL/SQL)
Replies: 2
Views: 1737

Re: Datastage Aggregator operation Vs Stored Procedures(PL/S

I wonder what the current application/job designs look like and if there is way to change what you have to increase the performance of the jobs? Here are my ideas. - If you are going to group by A and A,B and A,B,C you could create a dataset that is sorted and partitioned on A,B,C to perform all thr...
by Ultramundane
Thu Feb 16, 2006 12:12 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: ExternalTargetStage: data feed [send/receive] mechanism
Replies: 1
Views: 929

Ray explained how it functions very well. I typed a tidbit of code you could model your script after to read a record coming in into arguments. It is just a model to help you out. At a minimum, you will need to modify it with correct number arguments, the correct internal field separator, and the co...