Page 1 of 1

Unable to load User routine

Posted: Thu Jan 19, 2012 4:32 am
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

Posted: Thu Jan 19, 2012 7:07 am
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)