The GetQueryBandSP procedure retrieves the query band directly from memory.
This procedure is created in the SYSLIB database when the Environment is created. EXECUTE privileges are granted to PUBLIC by default. For more information, see Requirements for Using the API.
For information on setting the query band for a session or transaction, see SET QUERY_BAND.