Note the following points:
Do not use the following functions for screen operations in COBOL programs to be used in Web applications. For details, see "Programs Running under a Service" in the " NetCOBOL User's Guide".
Presentation file function (window handling function)
Screen handling function
ACCEPT/DISPLAY function
(However, the operational functions regarding environmental variables, date, and time can be used)
ISAPI Subroutines can be used only within a program with the entry name: HttpExtensionProc.
Before using ISAPI Subroutines, be sure to obtain (FUNCTION ADDR) the pointer, which is provided by the address of the group item (ISAPI-CTX-CNT) and set the value of COBW3-CONTEXT to it.
Do not share COBW3, ISAPI-CTX-CNT, or its pointer data among threads, or IIS may not work properly.
Do not use the REPLACING statement in the COPY statement that includes a library file (COBW3.cbl, ISAPICTX.cbl, ISAPIINF.cbl, and ISAPIFLG.cbl) provided by the ISAPI Subroutines. Do not specify a REPLACE statement so that a COPY statement would be replaced either.
When data is initialized (such as the VALUE clause) in the DATA DIVISION, depending on the operational environment, initial values extending over multiple requests may not be guaranteed. If the initial values should be guaranteed for each request from the WWW Browser, be sure to initialize data in the Procedure Division to be executed.
A web application is an application that runs under the services provided by the Web server. For applications running under services, please refer to "21.1.3 Programs running under a Service" of the NetCOBOL User’s Guide.