Here is a sample that will use Global variable to decide if the application will be held. Setup a global variable as in example HOLD_APP (it can be any name). Set its value to Y.
check_ver = getVar('HOLD_APP');
if (check_ver == 'Y')