Illegal length value found in context structure Explanation: The LENGTH field of the context structure passed to the SQL procedure was illegal. SQL supports only the global tid, which has a length of 16 (symbolically DDTM$S_TID). User Action: Change the HLL code to pass a context structure whose only length is 16 (DDTM$S_TID).