IBM Support

MA46940 - OSP-DB-OTHER INSERTING TO A FILE WITH A FIELD PROCEDURE MAY NOT
SEE THE FIELD PROCEDURE CALLED FOR EVERY FIELD.

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 INSERTING TO A FILE WITH A FIELD PROCEDURE MAY NOT
SEE THE FIELD PROCEDURE CALLED FOR EVERY FIELD.

Error Description

Inserting to a file with a field procedure may not see the      
field procedure called for every field, and causing some of the
data to get set to hex x'00'.                                  

Problem Summary

****************************************************************
* PROBLEM: (MA46940) Licensed Program = 5770999 for i 7.1,     *
*                                        i 7.2, and i 7.3      *
*           Data Integrity                                     *
****************************************************************
* USERS AFFECTED: All IBM i operating system users.            *
****************************************************************
* RECOMMENDATION: Apply LIC PTF MF64711 for i 7.1.             *
*                 Apply LIC PTF MF64712 for i 7.2.             *
*                 Apply LIC PTF MF64713 for i 7.3.             *
****************************************************************
Inserting to a file with multiple field procedures may not see  
the field procedure called for every field, and causing some of
the data to not get encoded.                                    

Problem Conclusion

When there are multiple field procedures with different encoded
and/or decoded lengths, the internal structures used to build  
the field procedure parameters map slightly differently. Reused
storage from call to call for input mapping processing (decoded
to encoded conversion) wasn't being properly initialized in    
every structure, which made a source field appear to be "null",
which skips invoking the field procedure. The processing has    
been corrected.                                                
                                                               
The files with fieldprocs need additional processing to take    
advantage of this fix. After the fix is loaded, remove the      
fieldprocs and add them back in. An alternative option is to    
save the file, delete the file and restore the file.            

Temporary Fix

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

Comments

Circumvention


PTFs Available

R710 MF64711 PTF Cover Letter   1000
R720 MF64712 PTF Cover Letter   8249
R730 MF64713 PTF Cover Letter   8242

Affected Modules

         
         

Affected Publications

Summary Information

Status............................................ CLOSED PER
HIPER........................................... Yes
Component.................................. 9400DG3DB
Failing Module.......................... RCHMGR
Reported Release................... R710
Duplicate Of..............................




System 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 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:
30 October 2018