This subroutine initializes the CGI subroutine work environment, and acquires Web parameters and sets them in the work area to be used by the CGI subroutines.
Note
Before calling the COBW3_INIT, the COBW3 in the interface area must be initialized using LOW-VALUE.
Format
CALL "COBW3_INIT" USING COBW3.
Data setting at calling
Using this parameter, specify whether to output error messages of the CGI subroutines.
The COBW3-DMODE is valid only when the operation code system is ASCII.
Condition name | Value | Explanation |
---|---|---|
COBW3-DMODE-NODBG | LOW-VALUE | Does not output error messages. |
COBW3-DMODE-DBG | "1" | Output error messages to the browser. |
Processing result data
None
Note
If the COBW3_INIT is called two or more times consecutively, the acquired Web parameters may be initialized and the subsequent operation is not assured. To prevent this, the program must be constructed so that the COBW3_INIT is called only once during the period from WWW browser connection to the calling of another CGI subroutine.