Top
NetCOBOL V11.0 ISAPI Subroutines User's Guide
FUJITSU Software

3.3.1 COBW3_INIT

This subroutine sets the work environment of ISAPI Subroutines. It also acquires Web parameters and sets them to the work area used by ISAPI Subroutines.

Note

Before calling "COBW3_INIT", initialize COBW3 of the interface area using LOW-VALUE.

How to write

CALL "COBW3_INIT" USING COBW3.

Data setting for calling

COBW3-CONTEXT [required]

Specify the pointer to the interface area with IIS. Never change the specified value.

COBW3-DMODE [optional]

Specify the output of error messages of ISAPI Subroutines to the WWW Browser.

COBW3-DMODE is valid only when the operation code system is ASCII.

Condition name

Value

Meaning

COBW3-DMODE-NODBG

LOW-VALUE

Do not output error messages.

COBW3-DMODE-DBG

"1"

Output error messages to the WWW Browser.

Processing result data

None

Note

If "COBW3_INIT" is called twice or more in succession, acquired Web parameters may be re-initialized and thus the subsequent operations are not guaranteed. Therefore, it is necessary to create a program so that "COBW3_INIT" is always called once before another ISAPI Subroutine is called each time the WWW Browser is connected.