hashed file stage

Post questions here relative to DataStage Server Edition for such areas as Server job design, DS Basic, Routines, Job Sequences, etc.

Moderators: chulett, rschirm, roy

Post Reply
sravan
Participant
Posts: 17
Joined: Thu Aug 25, 2005 10:21 pm
Contact:

hashed file stage

Post by sravan »

Hi All,

Plz Clear me some doubt on Hashed file stage.


Can we use hashed file as source and Hashed file as a target?


thanks in advance

Sravan
tcj
Premium Member
Premium Member
Posts: 98
Joined: Tue Sep 07, 2004 6:57 pm
Location: QLD, Australia
Contact:

Post by tcj »

Hi Sravan,

Yes you can use hash files as a source as well as hash files as a target.

Or did you want to know if you could use them at the same time?

Tim
sravan
Participant
Posts: 17
Joined: Thu Aug 25, 2005 10:21 pm
Contact:

Post by sravan »

Thanks tcj,

As well as clear me one more doubt. Is there any limit to use the particular no. of hashed files in the single job.


have a nice time

sravan
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

There's no theoretical limit.

However, your job might rapidly become unwieldy and difficult to maintain if there are too many stages - irrespective of their type.

What do you consider to be "many"? Why do you think you need that many? Is there a smarter solution?
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
tcj
Premium Member
Premium Member
Posts: 98
Joined: Tue Sep 07, 2004 6:57 pm
Location: QLD, Australia
Contact:

Post by tcj »

Sravan,

I don't think there is a set limit to the number of hashed files that you can have in a single job.

The amount of hash files that you can have in your job will be limited by other factors. Such as the amount of RAM on the server. The design of your jobs. (I would be looking at you job design if you had over 10 hash files)

Cheers

Tim
kduke
Charter Member
Charter Member
Posts: 5227
Joined: Thu May 29, 2003 9:47 am
Location: Dallas, TX
Contact:

Post by kduke »

You do not want a single hash file to be both a source and a target because of the way it processes hash files. You can do this in a job but not read transform and write to the same hash file. This is different than write to a hash file and then start reading from it.
Mamu Kim
DeepakCorning
Premium Member
Premium Member
Posts: 503
Joined: Wed Jun 29, 2005 8:14 am

Post by DeepakCorning »

Hey want to add up a question along with this topic.
Is there any limit on length of data (or say volume of data ) which can stored in the hash file?
If i want to use a FILE as source and target then wt is better -- to use a seq file or hash file??
If it cannt handle any volume of data then wht is the max? And if go out of the limit wht error it wil give like unable to write to hash file the record ID etc etc.
kcbland
Participant
Posts: 5208
Joined: Wed Jan 15, 2003 8:56 am
Location: Lutz, FL
Contact:

Post by kcbland »

Upper limits for 64bits is high terabytes. Limit for 32 bit hash file is 2.2 gigabytes. DS only creates 32bit hash files thru the Designer, you have to use command line create statement to get a 64bit file.
Kenneth Bland

Rank: Sempai
Belt: First degree black
Fight name: Captain Hook
Signature knockout: right upper cut followed by left hook
Signature submission: Crucifix combined with leg triangle
LogicDude
Participant
Posts: 22
Joined: Tue Aug 30, 2005 5:08 pm
Location: CA

Post by LogicDude »

kcbland wrote:Upper limits for 64bits is high terabytes. Limit for 32 bit hash file is 2.2 gigabytes. DS only creates 32bit hash files thru the Designer, you have to use command line create statement to get a 64bit file.
Hi Ken,

I had no idea we can do this. I thought because Datastage is a 32 bit environment, the hashed files are always 32bit. Can you let us know more about the command line create statement to get a 64bit file? And the limitations.

Thanks a bunch !
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Fire up the Hashed File Calculator on your DataStage CD. It's in the Utilities\Unsupported folder. Play and learn!
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
LogicDude
Participant
Posts: 22
Joined: Tue Aug 30, 2005 5:08 pm
Location: CA

Post by LogicDude »

ray.wurlod wrote:Fire up the Hashed File Calculator on your DataStage CD. It's in the Utilities\Unsupported folder. Play and learn!
Thanks Ray. I will do that. And may be again get back to you if I have any concern. :wink:

I need to ask the client side people for the Datastage CD.
Post Reply