EXIT terminates a CMD or DO file, and is only needed when you would like to terminate it somewhere other than the physical end of the file (usually in conjunction with the a conditional statement involving IF). See the notes on MOVE for an example of EXIT usage.