END PROC
The END PROC statement allows you to end the current process and return control to APPX. For example, after a child process has an END PROC statement executed, control may be returned to the parent process. The END PROC statement has the same effect as a user selecting the end option while in a process.
    ••••• END PROC 
    (1)
There are no restrictions as to where you can insert the END PROC statement within a process. You can control if it is to be executed by setting appropriate true/false execution conditions.
In this example, if the customer has a zero balance, the current process terminates and control is returned to APPX.
          IF       TAR 
 CUSTOMER BALANCE           EQ     0 
 
    T     END PROC