Terminates GeoStan.
Syntax
01 GSID PIC S9(9) BINARY.
01 GSFUNSTAT PIC S9(9) BINARY.
*
CALL "GSTERM" USING GSID, GSFUNSTAT.
Arguments
GSID ID returned by GSINITWP for the current instance of GeoStan. Input.
GSFUNSTAT Contains the return value for the procedure. Output.
Return Values
GS-SUCCESS
GS-ERROR
Notes
You must call GSTERM at the conclusion of a session to close files and release other resources. It closes GeoStan and invalidates GSID. You cannot call any function except GSINITWP after GSTERM.