Adam (DF)
Active Member
We have a database view that is represented as a table in JDE. There is a UBE that runs a Select/Fetch Next against this table (database view). When the UBE runs and the fetch happens, the UBE logs this error:
Apparently the JDE proxy user is missing some security to a database object used by our view, but the logged message doesn't say the name of the objects.
To troubleshoot, we have directly run the logged query using the proxy user, but then it runs just fine.
1. Have you run into the SQL0462 with a UBE?
2. Is there a way to make JDE log the actual error from the database (with the object names) instead of the error message template?
3. Do you have another idea for troubleshooting that I haven't thought of?
OS400QL010 - FetchSQLRow:Fetch failed. QSQLMSG *LIBL - SQL0462 - Procedure or user-defined function &1 in &2 returned a warning SQLSTATE
Apparently the JDE proxy user is missing some security to a database object used by our view, but the logged message doesn't say the name of the objects.
To troubleshoot, we have directly run the logged query using the proxy user, but then it runs just fine.
1. Have you run into the SQL0462 with a UBE?
2. Is there a way to make JDE log the actual error from the database (with the object names) instead of the error message template?
3. Do you have another idea for troubleshooting that I haven't thought of?