MAINNAME MAINNAME returns a CHARACTER string that is the name of the MAIN function on the current call stack. MAINNAME