END and EXIT Statements The END and EXIT statements are used to transfer control in a Transact program or to terminate the program. The END statement returns control to the next higher level. The EXIT statement terminates the Transact program. Both of these statements are used in Figure 2-1. For further discussion of the END and EXIT statements, see Chapter 8.