Search found 6797 matches

by DSguru2B
Sun Apr 22, 2007 9:46 am
Forum: General
Topic: Adding a column during concatenation
Replies: 9
Views: 2748

Look into sed, Craig. Something like

Code: Select all

sed -e 's/$/your character/g' infile 

You can perform this command on the files, either before concatenating them or after.
As for the speed, you will have to test it out. Sed is pretty fast. But dont know with 51 x 2M records.
by DSguru2B
Sat Apr 21, 2007 9:17 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: help needed on rows to column
Replies: 2
Views: 542

Or instead of sending to aggregator, load it to hashed file keyed on ACCT_NO. This will automatically retain the last row.
by DSguru2B
Sat Apr 21, 2007 9:48 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Unable to open hash file
Replies: 13
Views: 6100

Re: Unable to open hash file

Das wrote:and i the input tab file name as input link name and in output tab output ink name.

I think this is where he is going wrong. Giving different names while creating and reading the hashed file.
by DSguru2B
Fri Apr 20, 2007 11:30 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Unable to open hash file
Replies: 13
Views: 6100

The hashed file name should be the same while creating and reading the hashed file.
by DSguru2B
Fri Apr 20, 2007 8:54 pm
Forum: General
Topic: How to Handle primary key null handling
Replies: 4
Views: 1354

There is IsNull() function. You can use that to identify null values and constraint them or pass them down a reject link. If your source is a flat file you might also want to test for zero length.
by DSguru2B
Fri Apr 20, 2007 1:30 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Aggregator - Comparison with & without asserting Sort or
Replies: 6
Views: 1526

vnspn wrote:The incoming data is already sorted on the column that I want it to be aggregated. The source is from a flat file.

Plus, the sorting is to be done and specified on the grouping key and not on columns that are aggregated.
by DSguru2B
Fri Apr 20, 2007 1:23 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Modify date that in string format to date format
Replies: 5
Views: 1373

Your specification is wrong. Provide the following initial_date:date = date_from_string [%mm/%dd/%yyyy] (initial_date) And if your loading to a flat file, in the sequential file stage, go to "Format" tab, under "Type Defaults", go to the "Date" folder and enter %mm-%dd-%yyyy for "Format Stri...
by DSguru2B
Fri Apr 20, 2007 12:55 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: error while loading data from oracle to OCI stage
Replies: 3
Views: 1422

Are able to get a result of "greater than 0" if you do a count(*) from sql plus? If yes then dont worry about it. Run the job and it should be fine. I think it has no bind variable and hence not able to fulfil the where condition resulting in zero data.
by DSguru2B
Fri Apr 20, 2007 12:44 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: dimension and fact build
Replies: 6
Views: 1710

So what your saying is, that all the 100 table definitions are identical? :?
That does not make sense. Can you be clear on your requirement.
by DSguru2B
Fri Apr 20, 2007 12:27 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: CRC32 with Parallel Server-Job
Replies: 12
Views: 7854

Try compiling with +Z option.
by DSguru2B
Fri Apr 20, 2007 10:24 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Modify date that in string format to date format
Replies: 5
Views: 1373

You date is in the format mm/dd/yyyy and hence you need to give that format to the date_from_string() function. Then while loading it to a file you can specify change the default date format to mm-dd-yyyy.
by DSguru2B
Fri Apr 20, 2007 10:20 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Problem triggering a job via Sequence
Replies: 2
Views: 670

Please search on keywords "General repository interface 'other error'". Do an exact search. This has been covered before, a lot.
by DSguru2B
Fri Apr 20, 2007 8:31 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Invoking Dos Commands through Datastage
Replies: 7
Views: 3029

Yes. Search for "remote shell", it has been covered before.
by DSguru2B
Fri Apr 20, 2007 8:16 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Invoking Dos Commands through Datastage
Replies: 7
Views: 3029

Maybe remote shell :?: Or install samba, this way windoze will become transparent and you can see/execute files on windoze.
by DSguru2B
Fri Apr 20, 2007 6:48 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Trailing Spaces in Unix
Replies: 7
Views: 2537

I think you mean, while in vi, save it as follows, right smrutiranjannayak?