Reading the Hash file

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
rajeevm
Participant
Posts: 135
Joined: Sun Jan 22, 2006 10:44 am

Reading the Hash file

Post by rajeevm »

Hi All,

I am facing the problem with the hash file it says Abnormal termination of Transformer stage and its not reading the data from the hash file , as it is writing into the hash file.

What could be problem i don't understand

I need your helpto resolve this

Thanks for the input

rajeev
us1aslam1us
Charter Member
Charter Member
Posts: 822
Joined: Sat Sep 17, 2005 5:25 pm
Location: USA

Post by us1aslam1us »

What is your design and what are the log messages in the director?
I haven't failed, I've found 10,000 ways that don't work.
Thomas Alva Edison(1847-1931)
rajeevm
Participant
Posts: 135
Joined: Sun Jan 22, 2006 10:44 am

Post by rajeevm »

Hi ,
Thanks for the reply

here is my job design :

ODBC STAGE(SOURCE FILE) -------> HASH FILE-------------->TRANSFORMER STAGE----------->ODBC STAGE(TARGET)

AND I HAVE ONE LOOK UP ODBC STAGE

I am getting everytime some weird warning

when i ran for the first time i got abnormal termination of stage and second time when i ran i got The system cannot move the file to a different disk drive.

Thanks again for the input
us1aslam1us
Charter Member
Charter Member
Posts: 822
Joined: Sat Sep 17, 2005 5:25 pm
Location: USA

Post by us1aslam1us »

Have you checked the Data Path of the Hashed file? Verify the input and output tabs on the hash file stage.
I haven't failed, I've found 10,000 ways that don't work.
Thomas Alva Edison(1847-1931)
rajeevm
Participant
Posts: 135
Joined: Sun Jan 22, 2006 10:44 am

Post by rajeevm »

I have checked the data path and also the input and outputs everything is fine but still i am getting the same warning

Thanks
rafik2k
Participant
Posts: 182
Joined: Wed Nov 23, 2005 1:36 am
Location: Sydney

Post by rafik2k »

rajeevm wrote:Hi ,
Thanks for the reply

here is my job design :

ODBC STAGE(SOURCE FILE) -------> HASH FILE-------------->TRANSFORMER STAGE----------->ODBC STAGE(TARGET)

AND I HAVE ONE LOOK UP ODBC STAGE

I am getting everytime some weird warning

when i ran for the first time i got abnormal termination of stage and second time when i ran i got The system cannot move the file to a different disk drive.

Thanks again for the input
Here what is the purpose of using hash file stage?
As you mentioned that you have one lookup ODBC stage? are you creating hash for this? where you are performing lookup for same?
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

The hashed file may be being used to remove duplicates - though a DISTINCT keyword in the column derivation in the ODBC stage would have done just as well in this particular job design.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
rajeevm
Participant
Posts: 135
Joined: Sun Jan 22, 2006 10:44 am

Post by rajeevm »

hi ray

I did not understand you point what exactly you mean to say i know hash file is used to remove duplicates but i am getting different warnings

I am using distinct key word in the sql query and i am moving the same to the hash file is that the problem i am getting

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

Post by ray.wurlod »

What PRECISELY are the error messages? "Weird message" doesn't help diagnosis. Post the detail of the error messages.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
swades
Premium Member
Premium Member
Posts: 323
Joined: Mon Dec 04, 2006 11:52 pm

Post by swades »

Hashed file :shock:
Post Reply