Copyright © Cloud Software Group, Inc. All Rights Reserved
Copyright © Cloud Software Group, Inc. All Rights Reserved


Chapter 16 Call Level Interface Functions : Stopping the Session – STOPSS

Stopping the Session – STOPSS
Syntax
For the syntax of all Call Level Interface functions, see Call Level Interface Specification and HRNHLLTM Module Parameters.
Calling Parameters
When your client program has no active streams, it stops the session by specifying STOPSS as the OPERATION parameter. All other parameters, except RETURN-DATA and RETURN-CODE, are null.
After stopping the session, the client program can subsequently start another session, possibly with different session parameters.
Sample Code
COBOL Call

 
COPY HRNHLWAC
COPY HRNHLIST
.
.
CALL 'HRNHLLTM' USING HRNHLLWA 'STOPSS'
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'STOPSS',0, X
0,0,0,DATA,CODE),VL
.
.
DATA DS CL159 REASON CODE FROM HRNHLLTM
CODE DS F RETURN CODE FROM HRNHLLTM

 
Returned Values
 

Copyright © Cloud Software Group, Inc. All Rights Reserved
Copyright © Cloud Software Group, Inc. All Rights Reserved