Deleting terminals

Use the disconnect method to delete terminals from CICS®. Ensure that all terminals are deleted without errors before your application ends. To purge a terminal while a transaction is still running, set the PurgeOnDisconnect property to true.

term.setPurgeOnDisconnect(true);
term.disconnect();

After you have deleted the terminal from CICS, you can install it again by issuing one of the connect() methods:

term.disconnect();

.....

term.connect();

The Session parameter does not apply to a disconnect call. Deleting a terminal is a synchronous operation.


Information Information

Feedback


Timestamp icon Last updated: Tuesday, 19 November 2013


https://ut-ilnx-r4.hursley.ibm.com/tg_latest/help/topic/com.ibm.cics.tg.doc//progde/cclaojep.html