Calling UtilityHashLookup from afterjob subroutine

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
vishalk7
Participant
Posts: 1
Joined: Fri Mar 18, 2005 8:16 am

Calling UtilityHashLookup from afterjob subroutine

Post by vishalk7 »

I have one after Job subroutine which collects the DS Logs after every job run. But from that after Job subroutine I want to do a lookup to a hash file and select a column by providing the key value using UtilityHashLookup, SDK routine.


Any suggesstions? Please revert back ASAP


Thanks in advance!!!
DSguru2B
Charter Member
Charter Member
Posts: 6854
Joined: Wed Feb 09, 2005 3:44 pm
Location: Houston, TX

Post by DSguru2B »

How do you expect to send the input parameters to the routine in an after job subroutine? As a parameter maybe?
Never the less, you can create a wrapper before/after job subroutine that calls the UtilityHashLookup() and gets the information you need.
Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep.
ray.wurlod
Participant
Posts: 54595
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Welcome aboard. :D

Etiquette Note
We do not do "urgent" or "ASAP" here. This is an all-volunteer user community - nobody gets paid for posting anything. If you need urgent answers, sign up with your support provider for premium services, and learn the true cost of "urgent".


Search the forum for DEFFUN. You will need to declare the catalog name of the Routine in your before/after subroutine.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Post Reply