Subscribe to this APAR
By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.
APAR (Authorized Program Analysis Report)
Abstract
OSP-DB-OTHER-F/QSQSBAS2 MOD/QSQCKOVR-T/QSQSBAS2 MOD/QSQCKOVR-
MSGMCH1210 WITH UNREFERENCED CTES
Error Description
When an Select defines RTE's that are not referenced/used
these messages can occur:
MSGMCH1210?F/QSQSBAS2?MOD/QSQCKOVR?PROC/CHKOVR_LIBL1?STMT/2709
????????????T/QSQSBAS2?MOD/QSQCKOVR?PROC/CHKOVR_LIBL1?STMT/2709
MSGMCH1210?F/QSQCLOSE?MOD/QSQCLOSE?PROC/CHK_QDT_FOR_FILE?STMT/51
69
????????????T/QSQCLOSE?MOD/QSQCLOSE?PROC/CHK_QDT_FOR_FILE?STMT/5
169
later on when trying to do a CLRLIB QTEMP:
MSGCPF3220?F/QDBDLTFI?MOD/QDBDLTFI?PROC/QDBDLTFI?STMT/10350
????????????T/QSQRUN4?MOD/QSQCALLSP?PROC/CALLPROGRAM?STMT/44917
?Cannot?do?operation?on?file?<sometempfile> in?QTEMP. Operation
Type 1?-?Delete?File
MSGCPF3220?Cannot?do?operation?on?file?<sometempfile> in?QTEMP.
MSGCPF2161?F/QLICLLIB?X/084A?T/QSQRUN4?MOD/QSQCALLSP?PROC/CALLPR
OGRAM
STMT/44917
??Cannot?delete?some?objects?in?library?QTEMP.
Which leaves objects in qtemp that disrupt further processing
and the job has to be ended manually.
Problem Summary
When an Select defines RTE's that are not referenced/used
these messages can occur:
MSGMCH1210?F/QSQSBAS2?MOD/QSQCKOVR?PROC/CHKOVR_LIBL1?STMT/2709
????????????T/QSQSBAS2?MOD/QSQCKOVR?PROC/CHKOVR_LIBL1?STMT/2709
MSGMCH1210?F/QSQCLOSE?MOD/QSQCLOSE?PROC/CHK_QDT_FOR_FILE?STMT/51
69
????????????T/QSQCLOSE?MOD/QSQCLOSE?PROC/CHK_QDT_FOR_FILE?STMT/5
169
later on when trying to do a CLRLIB QTEMP:
MSGCPF3220?F/QDBDLTFI?MOD/QDBDLTFI?PROC/QDBDLTFI?STMT/10350
????????????T/QSQRUN4?MOD/QSQCALLSP?PROC/CALLPROGRAM?STMT/44917
?Cannot?do?operation?on?file?<sometempfile> in?QTEMP. Operation
Type 1?-?Delete?File
MSGCPF3220?Cannot?do?operation?on?file?<sometempfile> in?QTEMP.
MSGCPF2161?F/QLICLLIB?X/084A?T/QSQRUN4?MOD/QSQCALLSP?PROC/CALLPR
OGRAM
STMT/44917
??Cannot?delete?some?objects?in?library?QTEMP.
Which leaves objects in qtemp that disrupt further processing
and the job has to be ended manually.
Problem Conclusion
Queries that contain Common Table Expressions (CTEs) that are
not referenced in the query, may not be processed correctly when
saving access plan and space problems may occur. Code has been
added to process the QDTs. Problem has been fixed.
Temporary Fix
Comments
Circumvention
PTFs Available
R720 SI70861 1084
R730 SI70850 0310
R740 SI74343 1091
Affected Modules
Affected Publications
Summary Information
Status............................ CLOSED PERHIPER............................. No
Component......................... 5770SS1DBSI8
Failing Module.................... RCHMGR
Reported Release.................. R730
Duplicate Of......................
IBM i Support
IBM disclaims all warranties, whether express or implied, including, but not limited to, the implied warranties of merchantability and fitness for a particular purpose. By furnishing this document, IBM grants no licenses to any related patents or copyrights. Copyright © 1996,1997,1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022, 2023, 2024 IBM Corporation. Any trademarks and product or brand names referenced in this document are the property of their respective owners. Consult the Terms of use link for trademark information
Document Information
Modified date:
12 March 2024