Routine returns error after getting correct return value

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
rmcclure
Participant
Posts: 48
Joined: Fri Dec 01, 2006 7:50 am

Routine returns error after getting correct return value

Post by rmcclure »

I have a sequencer job that calls a routine to return the last updated date time. If I go into edit routine and test it, it will retunr the correct datetime value. But when I complie and run the job it returns the following error:

FIELD_SEQ_J_Fact_PS_F_INV_LDGR_E1..JobControl (@GetLastUpdDateTime): Controller problem: Unhandled failure (2007-10-26 09:19:12) encountered calling routine DSU.GetLastUpdDateTime

There is another routine in the sequence that should return the next bacth number. It also fails with the same error except that the return code is the batch number.

Both of these routines are used in other jobs and work fine.

I have tried:
Compiling the routine
Removing the routine, re-adding it and compiling
Restarting the services.
Creating a copy of the job, deleting the original and renaming the copy
I copied this job to our test environment and ran it and it works fine there.


Any other ideas??
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Search the forums for "unhandled failure", it has been discussed here a bajillion times.
-craig

"You can never have too many knives" -- Logan Nine Fingers
Post Reply