Process the command that the user selects from the menu. If the command is END or CANCEL, stop processing the command.
MAIN: if ( _status_ = 'E' or _status_ = 'C') then return;