How can I make my isCOBOL program to be called instead of a C routine when both have the same name?


By default the isCOBOL CALL behavior is to look for the called routine within the C routines before looking for it within the COBOL routines. When a C routine has the same name as a COBOL routine, the COBOL routine will never be called. 

A workaround for this is to use all UPPERCASE letters on the routine name when making the CALL, (i.e. CALL "SYSLOG"). Since C routine names are case-sensitive the isCOBOL framework will not find an exact match in the C routines list. The framework will then look for the name in the COBOL routines ignoring case and will match the COBOL routine.


Article ID: 56
Created: August 31, 2009
Last Updated: August 31, 2009
Author: Support KB Author

Online URL: https://support.veryant.com/support/phpkb/article.php?id=56