IBM Support

SE68204 - OSP-DB-OTHER-T/QQQSRVE1-MSGMSGMCH3601 STORED PROCEDURE CALLS
MAY FAIL WITH MCH3601 TO QQQSRVE1 AND MODULE QQQOOOSETS

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.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

 APAR (Authorized Program Analysis Report)

Abstract

OSP-DB-OTHER-T/QQQSRVE1-MSGMSGMCH3601 STORED PROCEDURE CALLS
MAY FAIL WITH MCH3601 TO QQQSRVE1 AND MODULE QQQOOOSETS

Error Description

                                                               
QSQLOPEN can be called on OPEN statements in precompiled        
programs or SQL stored procedures/functions. The fix correctly  
sets a variable used on a called module to complete the OPEN.  

Problem Summary

****************************************************************
* PROBLEM: (SE68204) Licensed Program = 5770999                *
*           Unpredictable Corruption                           *
****************************************************************
* USERS AFFECTED: All IBM i operating system users.            *
****************************************************************
* RECOMMENDATION: Apply PTF SI65995 for i 7.3.                 *
****************************************************************
                                                               
  Varying errors can be seen such as MSGMCH3601 in QSQFETCH when
doing OPEN and FETCH statements in an SQL precompiled program.  
  Other symptoms include:                                      
    msgMCH3601                                                  
F/QSQROUTQ-MODULE/QSQROUTQ-PROCEDURE/FASTPATH_PROC-STMT/22544  
    msgMCH3601                                                  
F/QSQRUN3-MODULE/QSQINS-PROCEDURE/MAP_WITH_CCSIDS-STMT/20033    
    MCH3601 21/06/17  08:55:02,003315  f/QQQSRVE1    t/QQQSRVE1
    msgMCH3601 F/DbopExecStatement                              
                                                               
T/QQQSRVE1-MODULE/QQQEVEXP-PROCEDURE/QQEVALEXPRESSION-STMT/9739

Problem Conclusion

  Problem is caused by an uninitialized variable used as an    
index into an array. When array variables are changed using the
uninitialized index, its unpredictable as to which part of an  
internal space is actually changed.                            
  The array index is not initialized correctly before being    
used.                                                          

Temporary Fix

                       *********                                
                       * HIPER *                                
                       *********                                

Comments

  Problem is caused by an uninitialized variable used as an    
index into an array. When array variables are changed using the
uninitialized index, its unpredictable as to which part of an  
internal space is actually changed.                            
  The array index is not initialized correctly before being    
used.                                                          

Circumvention


PTFs Available

R710 SI72424  1000

R730 SI65995  8242

Affected Modules


         
         

Affected Publications

Summary Information

Status............................................CLOSED PER
HIPER...........................................Yes
Component..................................5770SS1DB
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 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

[{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SG15Q","label":"APARs - OS\/400 General"},"Component":"","ARM Category":[],"Platform":[{"code":"PF012","label":"IBM i"}],"Version":"V7R1M0;V7R2M0;V7R3M0","Edition":"","Line of Business":{"code":"","label":""}},{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SG16C","label":"APARs - IBM i 7.1 environment"},"Component":"","ARM Category":[],"Platform":[{"code":"PF012","label":"IBM i"}],"Version":"V7R1M0;V7R2M0;V7R3M0","Edition":"","Line of Business":{"code":"","label":""}},{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SG16E","label":"APARs - IBM i 7.2 environment"},"Component":"","ARM Category":[],"Platform":[{"code":"PF012","label":"IBM i"}],"Version":"V7R1M0;V7R2M0;V7R3M0","Edition":"","Line of Business":{"code":"","label":""}},{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SG16G","label":"APARs - IBM i 7.3 environment"},"Component":"","ARM Category":[],"Platform":[{"code":"PF012","label":"IBM i"}],"Version":"V7R1M0;V7R2M0;V7R3M0","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
07 March 2020