skip to main content

Calling isCOBOL from C : Functions Reference

Functions Reference
The iscobolc library provides the following functions:
isCobolInit
isCobolCall
isCobolCancel
isCobolFunc
isCobolTidy
isCobolExit
isCobolError
isCobolGetJNIEnv
isCobolGoback
For each one of the above functions, an additional extended function is provided to work in multi-thread environments.
isCobolInitEx
isCobolCallEx
isCobolCancelEx
isCobolFuncEx
isCobolErrorEx
isCobolGetJNIEnvEx
isCobolGobackEx
isCobolThreadTidy
These functions are defined in the iscobolc.h header file, that is installed with isCOBOL in the folder $ISCOBOL_HOME/native/include.
Note: COBOL programs called thru isCobolCall and isCobolFunc are not aware of the C environment. An environment variable set by the C program cannot be retrieved by the COBOL program using the ACCEPT FROM ENVIRONMENT statement. In order to set an environment variable for the COBOL program, create a separate COBOL program that sets the variable using the SET ENVIRONMENT statement and then call this program using isCobolFunc.

Copyright (c) 2017 Veryant
Contact us
Please share your comments on this manual or on any
Veryant product documentation with the email button at the top left