Hey Vern here's a pretty straightforward question for you...
in QRNOPENACC member..
QrnOpenAccess_T.value contains the field data - it is a pointer.
In my handler pgm I need to set the descriptor as follows...
exec sql
set descriptor :descName
value :i type = :l_dataType
,length = :l_dataLen
,data = :l_value;
where l_value is referencing that pointer as mentioned above.
SQL doesn't like this being a pointer and says l_value is unusable at compile.
I cannot find documentation regarding "set descriptor" that defines data as any specific data value.
So what do I assign to it?
in QRNOPENACC member..
QrnOpenAccess_T.value contains the field data - it is a pointer.
In my handler pgm I need to set the descriptor as follows...
exec sql
set descriptor :descName
value :i type = :l_dataType
,length = :l_dataLen
,data = :l_value;
where l_value is referencing that pointer as mentioned above.
SQL doesn't like this being a pointer and says l_value is unusable at compile.
I cannot find documentation regarding "set descriptor" that defines data as any specific data value.
So what do I assign to it?
Comment