How can I make my isCOBOL program to be called instead of a C routine when both have the same name?
Question ID : 56
Created on 2009-08-31 at 5:58 PM
Author : Veryant Support [email@example.com]
Online URL : http://support.veryant.com/support/phpkb/question.php?ID=56
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.
Back to Original Question