Focused on delivering choice, investment protection and flexibility to organizations with valuable COBOL assets
Veryant Knowledge Base
Home > All Categories
> isCOBOL General > How can I make my isCOBOL program to be called instead of a C routine when both have the same name?
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.
Authored
by: Veryant Support
This question has been viewed 9040 times so far.
Click
Here to View all the questions in isCOBOL General
category.
File Attachments
There are no attachment file(s) related to this question.
User Comments
There are no user comments for this question. Be the first to post a comment. Click Here