select imlitm from f4101 FETCH FIRST 10 ROWS ONLY F4101 in *LIBL type *FILE not found. > select imlitm from a73dta2/f4101 FETCH FIRST 10 ROWS ONLY SELECT statement run complete.
It seems the iSeries is not using the PATH, except for "The SQL path is an ordered list of schema names. The database...
manager uses the path to resolve the schema name for unqualified distinct type names (both built-in types and distinct types), function names, and procedure names..."
Can you see from this what I am missing?
If you're at V5R2 or V5R3, you can use the SET SCHEMA statement for unqualified view & table names. Another alternative is using the *SYS SQL Naming option which uses the OS/400 library list to search for unqualified table & view names.
MORE INFORMATION ON THIS TOPIC
Visit the ITKnowledge Exchange and get answers to your DB2 questions fast.
Check out this Search400.com Featured Topic: Expert advice on DB2
Search400.com's targeted search engine: Get relevant information on DB2/400.
The Best Web Links: Tips, tutorials and more.
Dig Deeper on Oracle on iSeries
Related Q&A from Kent Milligan
To solve the SQL error -321 on IBM i6.1, use the new values statement to overcome the error. If you are using an older release, declare a cursor ...continue reading
Create a host variable of the where in statement on the fly with dynamic SQL.continue reading
When working with DB2 files with columns that have both short and long names, there is no option choose which column names are returned via ODBC ...continue reading
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.