Search found 64 matches

by girishoak
Tue Dec 16, 2003 11:35 pm
Forum:
Topic: Using transformer stage, reloading metadata
Replies: 5
Views: 2141

Using transformer stage, reloading metadata

Hi, I am designing a simple job that uses a sequential file as source and target along with a transformation stage. when I changed the metadata of the source stage, I lost the transformation coding done in transformation stage. Whenever I do a change in the metadata and reloads the metadata in seque...
by girishoak
Thu Dec 04, 2003 5:39 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Working with variable length record
Replies: 9
Views: 2934

In transformation stage put a constraint as follows

Code: Select all

 LEN(record string) =! 263 and len(record string) !=265
If you have multiple columns, you need to concatinate them to get a single record.

All the best

Girish Oak
by girishoak
Wed Dec 03, 2003 10:55 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: DATES!!!!!!
Replies: 3
Views: 806

Hey, you can also do this

Code: Select all

YEAR.TAG(ICONV(STG_INPUT.VDATE, "DYMD[2,2,2]"))
YEAR.TAG is an in-built transformation.

-- Girish Oak
by girishoak
Tue Dec 02, 2003 4:39 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Ranking the data both from above and below
Replies: 3
Views: 817

Hi Bapajju, Here is the solution, please try and let me know. In a single job use use sequential file twise. Sort data from one file in ascending while the other in descending order. Take top 10 records from each sort stage and merge them to get the final list. If this doesnt work, as I doubtful abo...
by girishoak
Tue Dec 02, 2003 2:58 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Hash File: Input/Output
Replies: 10
Views: 6415

Hi Tim, I also have faced similar kind of problem. I had a hash file consisting 3 columns with first column as Key column. I populated the hash file from a table. When I used the same hash file with the same data but different key column (say 2 or 3 column). The data got swapped automatically. The r...
by girishoak
Mon Dec 01, 2003 12:49 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Lookup with some different angle
Replies: 17
Views: 4122

Thanks Kenneth, I have also thought something similar but I am not very sure whether this can be done ot not. My idea is as follows I will use a hash file that contains zip code, city and state (Country is not required as there is only one country) I will concetenate the line 1,2 and 3 to get 12345 ...
by girishoak
Sun Nov 30, 2003 10:19 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Lookup with some different angle
Replies: 17
Views: 4122

Hi, I am sorry guys :oops: for misguiding (not intentionally). All the data belongs to only one country and not many. while hiding the original data, I need to change some names here and there, while doing that I mis-out a couple of records to change, that caused some mis-undestanding. By the code g...
by girishoak
Fri Nov 28, 2003 5:35 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Lookup with some different angle
Replies: 17
Views: 4122

I have following type of data D0100028||34 ROAD TELAWI|BANGSAR BARU|MUMBAI||| D0100029||221-1&2 RD PERKASA SATU|GAON MALURI|OFF RD CHERAS MUMBAI||| D0100031||42 ROAD SS 22/34|GAON MALURI|OFF RD CHERAS MUMBAI||| D0400001||P O BOX 141|GAON MALURI|OFF RD CHERAS MUMBAI||| D0400005||BONG CHIN TERRACE...
by girishoak
Wed Nov 26, 2003 12:00 am
Forum: IBM QualityStage
Topic: What is Quality Stage?
Replies: 2
Views: 4426

What is Quality Stage?

hi,

Want to know some basics
What is Quality Stage?
What is the use of Quality Stage?
Doest it come along with Datastage or need to buy seperately?
How it is related to Datastage?

Thanks in advance

Girish Oak
by girishoak
Tue Nov 25, 2003 11:34 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Lookup with some different angle
Replies: 17
Views: 4122

I have hash files for zip code, city, state and country. So what I am thinking is to use this has files for lookup by which I can identify which zip code, city, state etc. But I dont know whether it can be implemented or not. Also not sure whether this could be the right solution or not Or any othe...
by girishoak
Tue Nov 25, 2003 10:22 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Using an array as a job handler
Replies: 30
Views: 13833

Dear Ken,
I too need a copy of code. Please make available online ASAP. Seems very cool

Thanks in advance

Girish Oak
by girishoak
Tue Nov 25, 2003 10:09 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Lookup with some different angle
Replies: 17
Views: 4122

Lookup with some different angle

Hi, I have some different kind of requirement probably anyone of you, may or may not have face this. My requirement is as follows. I have a record that has three columns for address say addressline1,2 and 3. Any of these line1,2,3 may contain zip code city state and country value. Unfortunately thes...
by girishoak
Tue Nov 25, 2003 9:57 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: When to use Basic and when to use GUI
Replies: 8
Views: 2139

Thanks to all for your comments. :D

Girish Oak
by girishoak
Tue Nov 25, 2003 3:30 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: When to use Basic and when to use GUI
Replies: 8
Views: 2139

When to use Basic and when to use GUI

hi, while roaming around this forum, I found many basic codes written or suggested for different different purpose. Which confused me a bit by the question whether GUI provided by Datastage is useful or not? :? Also Could anybody give me a case where we can not use GUI and we have to use Basic codin...
by girishoak
Mon Nov 24, 2003 6:33 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Variable column numbers in sequential file
Replies: 2
Views: 1228

Variable column numbers in sequential file

Hi, I have number of data files. Each file has first five rows that defines some values seperated by comma. Nothing to do with these rows. Similarly, it contains a couple of rows at the end of file. Each file size is around 2MB. I in between there is data which is seperated by comma. The first colum...