lburkett99 (AT) embarqmail (DOT) com wrote:
Quote:
I am writing an RPG program using the SQL CLI API's. When I
execute my query the return code is -1 and message SQL0204 is
sent with text 'ITMST in LBURKETT type *FILE not found'. ITMST
is one of two files in the query. LBURKETT appears to be a
library name, which does exist but is not part of the query.
LBURKETT is the user name of the job.
I have attached a copy of the query. |
Attachments are not supported to the NewsGroup interface, and my
DeveloperWorks ID has never been corrected by IBM even after I
talked to the help desk... it makes almost nine months ago.
But the described scenario is a side effect of standard SQL
naming rules. The /authorization ID/ is what is used to locate
unqualified TABLE names. Qualify the TABLE name, or establish the
request under the authorization ID which matches the SCHEMA [the
library] name, or if cross platform is of no concern then SET OPTION
NAMING *SYSTEM ;;; syntax of that SET may not be correct, and the
API might have another interface to set the option other than the
SET statement, I can not recall.
Regards, Chuck