Search found 6797 matches

by DSguru2B
Fri Jan 05, 2007 10:25 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: lookup with multiple columns
Replies: 31
Views: 8721

How many values can there be, can it be more than 2? This is getting really ugly. Start thinking of an alternative route.
by DSguru2B
Fri Jan 05, 2007 9:41 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: lookup with multiple columns
Replies: 31
Views: 8721

Well thats for you to decide. You can go with either max or min. Change the subquery accordingly. A part of it is as follows SELECT F.col1, (CASE F.col2 WHEN '*' THEN (SELECT MIN(sub_D.col2) from DataBaseTable sub_D where sub_D.col1 = F.col1 group by sub_D.col1) ELSE F.col2) ...
by DSguru2B
Fri Jan 05, 2007 9:09 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Problem viewing the data in the sequential file
Replies: 4
Views: 949

You said it provided delimiter as none ? Its a pipe delimited file so specifying a pipe as a delimiter would certainly help? As for the decimal, what is the length and scale of that field?
by DSguru2B
Fri Jan 05, 2007 7:58 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: compilation prob Keeping environment variable in transformer
Replies: 7
Views: 1745

How are you passing the environmet variable inside the transformer, remember, no surrounding hashes are required for a parameter/env. variable inside the transformer.
by DSguru2B
Fri Jan 05, 2007 7:57 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: dos2unix - problem while converting
Replies: 13
Views: 20599

It might be permissions. Try storing the result in some other file, instead of the replacing the original file.

Code: Select all

dos2unix -n a.txt b.txt


The above command converts a.txt and stores it in b.txt
by DSguru2B
Fri Jan 05, 2007 7:51 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Server Job hangs for a while and then aborts
Replies: 10
Views: 2196

Even i remember reading here somewhere that 8i stage with Oracle 10g is not a good idea, they will start acting up at some point. Maybe thats your issue. Other jobs might still be working at the moment, but you never know about tomorrow. I suggest you give support a call, i bet they will hit this po...
by DSguru2B
Fri Jan 05, 2007 7:46 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Reject certain rows with constraint
Replies: 3
Views: 892

Ok, that doesnt help much. Whats going wrong, the constraint deamon must be on a tea break. Need more info What is the constraint that you have specified? What is the datatype of your key column? You can have a simple in.Id>=100 AND in.ID<=150 for the reject link and the ! (NOT) of that for your mai...
by DSguru2B
Fri Jan 05, 2007 7:42 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Generating a surrogate key for a key column
Replies: 1
Views: 911

This has been covered here before. You can do key increments at the database level as well as DataStage(via surrogate key generator or even stage variables.) Search this site for more details.
by DSguru2B
Fri Jan 05, 2007 7:41 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Warning: Job control process (pid XXXX) has failed
Replies: 17
Views: 7502

Reset the job and see if there are any messages that pop up from the 'previous run' that are helpful.
by DSguru2B
Fri Jan 05, 2007 7:36 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to generate multiple rows?
Replies: 11
Views: 3091

Need actual sample data with explanation of how each case is derived.
by DSguru2B
Thu Jan 04, 2007 9:42 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: What are the px and como directories in DS PX/EE editions
Replies: 6
Views: 1714

Ill throw some light on Ray's behaf, actually ill put you in the midst of light, here click on the smiley :P
by DSguru2B
Thu Jan 04, 2007 9:38 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: OCI has fetched truncated data
Replies: 9
Views: 2874

Great. Thanks for sharing that with us. Now you can mark the post resolved. Others should make it a habbit to mark their posts resolved for ease of search.
by DSguru2B
Thu Jan 04, 2007 9:35 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to generate multiple rows?
Replies: 11
Views: 3091

How are you getting xx1 and yy1. How do you know you need to make 3 copies of each row. If that remains static, feed the input file the transformer with three output links, add two columns, duplicate the first three columns, add appropriate value for fourth and fifth column in the three links. Conca...
by DSguru2B
Thu Jan 04, 2007 3:59 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: how to create multiple rows from a row
Replies: 10
Views: 3766

Well, it would have been if the comma delimited values were static. Then they could have been changed to columns and a pivot stage would do the trick. I dont know how the varying fields would be treated by DataStage. I thought about it, maybe not long enough. Did'nt want to burn any more brain cells...
by DSguru2B
Thu Jan 04, 2007 3:55 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Writing to a Sequential file
Replies: 12
Views: 2856

Sorry, that was a typo, i meant to say the file was created, not the job. Dummy me :roll: