UniData EXECUTE's 'RETURNING' clause. List of error numbers?
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
精彩评论