$variation = "<application mnemonic>" if (!$$first_time_flag) ; execute once only $$first_time_flag = 1 ; done! call SAVE_VARIATION($variation) ...other initial processing endif
$variationto a list of values used within the current session.
$variationsuffixed by "_CLOSE", which gives, for example, MENU_CLOSE and XAMPLE_CLOSE.
$$first_time_flag = 0.This will allow any first-time processing to be repeated for the new session. Other custom processing can be added as required.