RETURN with TRANSID is a control mechanism specific to pseudo-conversational programs where control is passed to a control block that keeps the session alive during terminal wait. This mechanism releases resources between the execution of a transaction and user “think time.”