Pardon the basic question. Infra rolled out COBOL 6.4 last month and I am trying the user-defined function samples from the IBM docs. My understanding was: write the function in one compilation unit, main program in another, call it like a subprogram but with FUNCTION syntax.
Compilation itself is failing. Compiler does not seem to recognize FUNCTION at all and we get a 0C1 during compile step. Docs look clear on paper. Anyone actually got UDF working in a real shop? Is there a PTF or compiler option we missed?