This function executes a query created with the wizard, or a statement given as a character string.
Syntax with connection parameter must be used when files used in the SQL statement are not in the analysis, or, if hQueryWithoutCorrection is used.
hQueryWithoutCorrection must be used is the SQL statement contains library names, or some SQL/400 proprietary keywords.