Pause console after exit, Run Program Dialog Box
Select to have the console window remain open after your program exits.
(C) Copyright IBM Corporation 1993, 2009.