×
The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.
On 11/28/2017 4:00 PM, John R. Smith, Jr. wrote:
So, since the object is found via the DSPOBJD command and the library the DSPOBJD command finds it in is the one that I hardcoded why would the update statement works with the library hardcoded but fail if it is omitted?
Wild guess: Naming has been changed from *SYS to *SQL by program B. See
exec sql SET OPTION. With *SQL, unqualified table names use the user ID
as the implied qualifier. At least this is testable by creating a
library named the same as your user ID, putting a copy of FILE1 in
there, and seeing if that works.
Some additional debugging information might be available in the special
registers:
CURRENT_PATH
CURRENT_SCHEMA
CURRENT_SERVER
SYSTEM_USER
Database > Programming > SQL programming > Data manipulation language >
Retrieving data using the SELECT statement
https://www.ibm.com/support/knowledgecenter/ssw_ibm_i_73/sqlp/rbafyspecreg.htm
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact
[javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.