#include <qp0ztrml.h> int Qp0zEndTerminal( Qp0z_Terminal_T handle, ... );Service Program Name: QP0ZTRML
The Qp0zEndTerminal() function ends the terminal session specified by handle.
The terminal session is ended by:
Qp0zEndTerminal() waits for the interpreter process to end before returning to the caller. The status information about how the interpreter process ended is returned in the optional second parameter.
None.
If Qp0zEndTerminal() is not successful, the return value usually indicates one of the following errors. Under some conditions, the return value could indicate an error other than those listed here.
The address used for an argument is not correct.
In attempting to use an argument in a call, the system detected an address that is not valid.
While attempting to access a parameter passed to this function, the system detected an address that is not valid.
A function was passed incorrect argument values, or an operation was attempted on an object and the operation specified is not supported for that type of object.
An argument value is not valid, out of range, or NULL.
Input/output error.
A physical I/O error occurred.
A referenced object may be damaged.
Unknown system state.
The operation failed because of an unknown system state. See any messages in the job log and correct any errors that are indicated, then retry the operation.
Top | Generic Terminal APIs | APIs by category |