1.5 tpreturn()

Table 1-5 tpreturn()

tpreturn() Parameters Contents CPIC Notes
rval TPSUCCESS Set to TPSUCCESS when conversation terminates with a normal deallocation.
TPSVCERR Set to TPESVCERR when the conversation has terminated with a non-normal deallocation type or other error.
rcode - Set by the application N/A
data - User data Data is returned to the CICS transaction from a successful CMRCV with data received set to CM_DATA_COMPLETE and return code of CM_DEALLOCATE_NORMAL. If the service fails, no data is returned to the caller and the conversation is deallocated abnormally.
len - Length of data returned 0 < data <= 32K
flags - N/A N/A