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


Chapter 16 Call Level Interface Functions : Ending a Transaction – STOPTR

Ending a Transaction – STOPTR
Syntax
For the syntax of all Call Level Interface functions, see Call Level Interface Specification and HRNHLLTM Module Parameters.
Calling Parameters
Your client program ends a transaction by specifying STOPTR as the OPERATION parameter. You can explicitly specify the COMMIT (the default if neither is specified) or ROLLBACK parameters to STOPTR. All other parameters, except RETURN-DATA and RETURN-CODE, are null.
Ending a transaction implies committing uncommitted data and dropping locks acquired during the course of the transaction.
Sample Calls
COBOL Call

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

 
Returned Values
 
Return Codes

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