To set the CGI subroutine environment or to acquire Web parameters, COBW3_INIT must be called first. To terminate the CGI subroutine processing at the end of the execution phase, COBW3_FREE must always be called to release the CGI subroutine resources.
Other subroutines must be called using the CALL statement when necessary.
To call another subroutine from a program other than the program that called the COBW3_INIT, the COBW3 interface area that was defined by the program that originally called COBW3_INIT must be passed between the related programs.
Example
Parent program A calls COBW3_INIT, and child program calls COBW3_FREE.