Reputation: 67
I wrote one module in proc iml and trying to call it using call fuctiong and supplied parameters.
But its throwing the erorr: run executed for function module.
Any suggestion?
Upvotes: 0
Views: 126
Reputation: 1210
The error message says that you have defined a function that returns a value ('function module') so you need to call it like this: x = MyFunction(x,y,z);
You cannot use the CALL statement to call a function, only to call subroutines that do not return values.
Upvotes: 1