The following table lists the functions that you can use from C programs to call COBOL. For more information about using these functions, see the section Calling COBOL from C in the chapter Interfacing with C Programs in your Program Development book.
cobaddch | Displays a character on the screen |
cobaddstr | Displays a string on the screen |
cobaddstrc | Displays a string on the screen |
cobcall | Calls a COBOL program |
cobcancel | Cancels a previously loaded program |
cobclear | Clears the screen |
cobcols | Returns the number of columns on the screen |
cobcommandline | Sets up the COBOL command line |
Outputs an event
to one or more output destinations. |
|
Installs or
uninstalls a tracer configuration callback function. |
|
cobexit | Closes down the global COBOL run-time environment |
cobfunc | Calls a COBOL program and then cancels it |
cobget | Converts COBOL-based data to native C language types |
cobgetch | Gets a character from the keyboard |
cobgetenv | Obtains the value of an environment variable |
cobgetfuncaddr | Returns a function pointer to a COBOL program |
cobinit | Initializes the COBOL environment |
cobkeypad | Puts the numeric keypad of the terminal keypad into local mode or transmit mode |
coblines | Returns the number of lines on the screen |
coblongjmp | Provides the capability of a non-local GO TO, when used with the cobsetjmp function |
cobmove | Moves the virtual cursor to a position on the screen |
cobpostsighandler | Adds a handler to the list of handlers for a signal |
cobprintf | Displays the specified formatted string on the screen |
cobput | Converts data from native C language types to COBOL types. |
cobputenv | Dynamically changes the value of an environment variable. |
cobremovesighandler | Removes a posted handler from the list of handlers for a signal. |
cobrescanenv | Causes the run-time system to rescan the environment for COBOL environment strings |
cobscroll | Scrolls the screen display |
cobsetjmp | Provides the capability of a non-local GO TO, when used with the coblongjmp function |
cobtermmode | Toggles the terminal screen between standard and wide modes |
cobthreadtidy | Tidies up the thread-local COBOL run-time environment |
cobtidy | Tidies up the global COBOL run-time environment |
SYSTEM | Runs an executable via a system shell |