Skip to Content

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

Estimated Reading Time: 1 Minutes
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.
How can I make my isCOBOL program to be called instead of a C routine when both have the same name?

Powered by PHPKB (Knowledge Base Software)