I am using Visual Cobol Development Hub on HP-UX. I recently discovered the REPOSITORY paragraph in the CONFIGURATION SECTION of the ENVIRONMENT DIVISION and am trying to use the FUNCTION feature. From the documentation, it appears it only works with the ISO2002 and MF compiler dialects, but the docs also say that MF is the default. None the less, when I issue a FUNCTION ALL INTRINSIC. statement under REPOSITORY, my compile listing flags the line as "documentary" and generates errors when I try to use intrinsic functions (like MOD) without the FUNCTION keyword.
Has anyone used this successfully? I took my test source code to my PC and compiled it (unchanged) successfully using GnuCobol. I would hope if a free compiler works, MF would work too.