|
I just ran my program twice
Once the parm value was USR01 (record exists for this value)
Once with parm value USS01 (no record exists)
No recompiles, nothing changed just different value in parameter
No messages generated in QSYSOPR
Joblog for value USR01 (record exists for this value)
<<SNIP>>
Worked fine so my SQL statements should be correctly formatted
It retrieves the value I am looking for
Then I get:
Joblog for value USS01 (record does not exist for this value) Which should also be fine, I expect some values will not have a record in the database file. I just want to continue processing
without all these messages in the joblog and without a dump in
QEZJOBLOG
Unable to retrieve query options file.
PREPARE of statement W$MYSTMT completed.
Unable to retrieve query options file.
**** Starting optimizer debug message for query .
Access path of file SFDFT was used by query.
Arrival sequence access was used for file QSQPTABL.
**** Ending debug message for query .
ODP created.
ODP deleted.
VALUES statement complete.
Tried to refer to all or part of an object that no longer exists.
Ownership of object QP0Z236864 in QUSRSYS type *USRSPC changed.
File QAP0ZDMP in library QTEMP already exists.
User Trace data for job 236864/USR01/USR01A dumped to member
QP0Z236864 in file QAP0ZDMP in library QTEMP.
27 records copied from member QP0Z236864.
1 User Trace buffer(s) deleted. SQL system error.
The message above " Tried to refer to all or part of an object
that no longer exists" I use F1 and get the following (not so
helpful help):
Message ID . . . : MCH3402 Severity . . . . : 40
Message type . . : Escape
Date sent . . . : 02/17/10 Time sent . . . : 17:37:54
Message . . . . : Tried to refer to all or part of an object that
no longer exists.
Cause . . . . . : The most common cause is that a stored address
to an object is no longer correct because that object was deleted
or part of the object was deleted.
In addition to this joblog I get a dump in QEZJOBLOG
5722SS1 V5R1M0 010525 COPY FILE QTEMP/QAP0ZDMP
<<SNIP>>
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.