IMHO, the query should raise a static error. The error should be (and is) detected at compile-time. The catch clause only catches errors raised during runtime. However, it is confusing that the error that is raised indicates that it's a dynamic error, i.e. zerr:ZDDY0025.
IMHO, the query should raise a static error. The error should be (and is) detected at compile-time. The catch clause only catches errors raised during runtime. However, it is confusing that the error that is raised indicates that it's a dynamic error, i.e. zerr:ZDDY0025.
Maybe this should be changed.