Get the address of a previously-allocated control scratchpad to retain data between iterations of a local table function copy.
FNC_TblGetCtrlCtx returns the address of the control scratchpad that a local table function copy can use to retain data between iterations.
The return value is a NULL pointer if the general scratchpad has not been previously allocated with a call to FNC_TblAllocCtrlCtx.
Use this library function when the return value of FNC_GetPhase is TBL_MODE_CONST, indicating that the SELECT statement invoked the table function with constant expression input arguments.
SELECT * FROM TABLE (table_function_1('STRING_CONSTANT')) AS table_1;