Using the Application Programming Interface › C(END)—End the API Session
To terminate the API session, use the following command:
ADDRESS 'SYSVIEWE' 'C(END)'
The C(END) is a requirement when using TSO/E REXX; if you do not use this command, an abend occurs.