Rule 7 says: "The ON EXCEPTION and NOT ON EXCEPTION phrases can only be specified when mnemonic-name is associated with ENVIRONMENT-NAME or ENVIRONMENT-VALUE." CONSOLE is an (implied) mnemonic-name not associated with either of those. There is no exception condition for displays upon the console, so the ON EXCEPTION / NOT ON EXCEPTION phrases are not allowed.
↧