This invocation of CEEPIPI terminates the environment identified by the value given in token. This service is used for terminating environments created for subroutines or main routines.
Syntax >>-CALL--CEEPIPI--(--term--,--token--,--env_return_code--)-----><
The token must identify a previously preinitialized environment that is dormant at the time of the call.
If the environment was initialized for a main routine or a subroutine, and the last (call_sub) or (call_sub_addr) issued stop semantics, the value of env_return_code is zero.
If the environment was initialized for a subroutine and the last (call_sub) or (call_sub_addr) did not terminate with stop semantics, env_return_code contains the same value as that in sub_ret_code from the last (call_sub) or (call_sub_addr).