Terminates interaction with an API application running simultaneously on the local system.
G32DLLOC
The G32DLLOC function ends interaction with an API application. The G32DLLOC function is a HCON API function that can be called by a 370 Assembler applications program.
The G32DLLOC function requires one or more adapters used to connect to a mainframe host.
This call sets register 0 (zero) to the following values:
Value | Description |
---|---|
0 | Indicates a normal return or a successful call. |
< 0 | Indicates less than zero. An error condition exists. |
The following 370 Assembler code example illustrates the use of the host G32DLLOC function:
L R11,=v(G32DATA)
USING G32DATAD,R11
G32DLLOC /* Deallocate a session. */
C R0, G32ESESS /* Check for G32 error. */
BE SESSERR /* Branch if error. */
C R0, G32ESYS /* Check for system error. */
BE SYSERR /* Branch if error. */
.
.
.