Unable to load User routine

A forum for discussing DataStage<sup>®</sup> basics. If you're not sure where your question goes, start here.

Moderators: chulett, rschirm, roy

Post Reply
roy
Participant
Posts: 2598
Joined: Wed Jul 30, 2003 2:05 am
Location: Israel

Unable to load User routine

Post by roy »

Hi,
I'm trying to call a user defined routine from another user defined routine
and I run into this problem:
Program "DSU.XX": Line 10, Unable to load file "YY".
Program "DSU.XX": Line 10, Unable to load subroutine.
Attempting to Cleanup after ABORT raised in stage Xfm.Transformer

Searching got me to This post and another one which seems to be broken :(

I fail when running this both via the test from my client designer and when incorporating it in a test job.

Any ideas would be apreciated
there are no transform routines with the same name/s!

P.S.
I thought it might be permitions related
still waiting for my admins to check it out
Roy R.
Time is money but when you don't have money time is all you can afford.

Search before posting:)

Join the DataStagers team effort at:
http://www.worldcommunitygrid.org
Image
roy
Participant
Posts: 2598
Joined: Wed Jul 30, 2003 2:05 am
Location: Israel

Post by roy »

So after a second look I noticed that the programer used a function that returns a value but invoked it with the

Code: Select all

Call MyFunc(a)
Instead of using

Code: Select all

RtValue = MyFunc(a)
After correcting that mistake it works fine :!:

There was no routine by that name that returns no value therefor DS couldn't locate such a routine 8)
Roy R.
Time is money but when you don't have money time is all you can afford.

Search before posting:)

Join the DataStagers team effort at:
http://www.worldcommunitygrid.org
Image
Post Reply