Updating a Hashfile from Routine

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
AYARI
Participant
Posts: 2
Joined: Thu May 20, 2004 8:05 am

Updating a Hashfile from Routine

Post by AYARI »

Hi guys!
How can I update a Hashfile from a Routine? I'm using the UtilityHashLookUp routine for search the Hash, now I need to write on it.
Thanks in advance.
Bye.
Ayari D. :D
kcbland
Participant
Posts: 5208
Joined: Wed Jan 15, 2003 8:56 am
Location: Lutz, FL
Contact:

Post by kcbland »

Yes you can, but once you're going down this path, why do you need a GUI ETL tool? Can you state your reasons why you think you need to do this?
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
AYARI
Participant
Posts: 2
Joined: Thu May 20, 2004 8:05 am

Post by AYARI »

Kenneth, thanks for your reply.
We have several validations in our Job Sequence throw routines and we're trying to write/read to a Hash in order to execute or not our Job Servers.
Any idea?
Ayari.
kcbland
Participant
Posts: 5208
Joined: Wed Jan 15, 2003 8:56 am
Location: Lutz, FL
Contact:

Post by kcbland »

You can search the forum or read the DS BASIC manual for hash file OPEN/READ/WRITE/CLOSE operations. There are tons of examples posted on this forum as well. Give it a shot and then post some followup questions if you have issues.
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
Post Reply