Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved


Chapter 16 Call Level Interface Functions : Stopping the Execution Environment – STOPEE

Stopping the Execution Environment – STOPEE
Syntax
For the syntax of all Call Level Interface functions, see Call Level Interface Specification and HRNHLLTM Module Parameters.
Calling Parameters
When all Call Level Interface sessions are terminated in the Execution Environment, your client program stops the Execution Environment by specifying STOPEE as the OPERATION. All other parameters, except RETURN-DATA and RETURN-CODE, are null.
Sample Calls
COBOL Call

 
.
COPY HRNHLWAC
COPY HRNHLLIST
.
.
CALL 'HRNHLLTM' USING HRNHLLWA 'STOPEE'
HRN-NULL-LIST HRN-NULL-LIST HRN-NULL-LIST HRN-NULL-LIST
HRN-RETURN-DATA HRN-RETURN-CODE.
.

 
Non Re-entrant Assembler Call

 
.
CALL HRNHLLTM,(HRNHLLWA,C'STOPEE', X
0,0,0,0,DATA,CODE),VL
.
.
DATA DS CL159 REASON CODE FROM HRNHLLTM.
CODE DS F REASON CODE FROM HRNHLLTM
.

 
Returned Values
 
Return Codes
The special reason code of 144 indicates that the Execution Environment is still active with other users. Refer to Chapter 17, Multiple-Session Execution Environments in Batch for an explanation of why this would be an acceptable reason code.

Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved