开发者

UniData EXECUTE's 'RETURNING' clause. List of error numbers?

开发者 https://www.devze.com 2022-12-21 16:36 出处:网络
When using the EXECUTE statement combined with the RETURNING clause, UniData returns any error codes encountered along with related data. Does anyone know a definiti开发者_Go百科ve list of these error

When using the EXECUTE statement combined with the RETURNING clause, UniData returns any error codes encountered along with related data. Does anyone know a definiti开发者_Go百科ve list of these error codes?

Unfortunately the manuals are lacking in this regard and I'm not feeling particularly psychic this morning.

For example

EXECUTE MyStatement RETURNING Results

What does Results<1,1> equal?


The answer to this really depends on what your 'MyStatement" is. The results of the RETURNING statement is usually the information provided during a STOP statement in a baskic routine.

While in a subroutine, this can be user defined, you can find most system error messages in the ERRMSG file.

Most, if not all, RETURN.CODES can be found in ERRMSG for SELECT, LIST, SORT, and the other system TCL statements.

-Nathan Rector

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号