With some free time I wanted to play around with UDFs to get a feel for them.
In this case I am compiling to the directory I am working in.
Compiles with no error/warnings.
Also compiled and ran with the environment settings.
Version 3.1.2.
What am I missing?
No issues with finding dynamic subprograms.
Works fine when I change to a subprogram.
Many thanks.
Last edit: Joe Reichart 2023-07-12
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
With some free time I wanted to play around with UDFs to get a feel for them.
In this case I am compiling to the directory I am working in.
Compiles with no error/warnings.
Also compiled and ran with the environment settings.
Version 3.1.2.
What am I missing?
No issues with finding dynamic subprograms.
Works fine when I change to a subprogram.
Many thanks.
Last edit: Joe Reichart 2023-07-12
So what does your
FUNCTION-ID
look like?How did you compile its source?
FUNCTION-ID. fampm.
cobc ./fampm.cob (compile everything this way)
source below..
Last edit: Joe Reichart 2023-07-12
try with
background: functions are always loaded in uppercase.
LOL! Never thought of that! Thanks.
May want to change udf-sample. in the FAQ.