IBM Support

SE70386 - RPGLE-CMPL-INCORROUT TIMESTAMP NOT CORRECT IN PCML IF LEN NOT 26

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

RPGLE-CMPL-INCORROUT TIMESTAMP NOT CORRECT IN PCML IF LEN NOT 26

Error Description

When PCML is generated for an RPG program or module and one of  
the parameters is a timestamp, the generated PCML is not        
correct if the timestamp does not have the default of 6        
fractional digits.                                              

Problem Summary

****************************************************************
* USERS AFFECTED: All ILE RPG programmers who use the compiler *
*                 to generate PCML.                            *
****************************************************************
* PROBLEM DESCRIPTION: When PCML is generated for an RPG       *
*                      program or module and one of the        *
*                      parameters is a timestamp, the          *
*                      generated PCML is not correct if the    *
*                      timestamp does not have the default of  *
*                      6 fractional digits.                    *
****************************************************************
* RECOMMENDATION:                                              *
****************************************************************
When PCML is generated for an RPG program or module and one of  
the parameters is a timestamp, the generated PCML is not        
correct if the timestamp does not have the default of 6        
fractional digits.                                              

Problem Conclusion

The ILE RPG compiler will be changed so that the PCML generated
for a timestamp will have the "length" attribute if the        
timestamp does not have the default length of 26.              

Temporary Fix

Comments

Circumvention


If the PCML is generated into the module, there is no          

circumvention.                                                  
                                                               
If the PCML is generated into a stream file, edit the stream    
file and add the "length" attribute to the timestamp.          
                                                               
For example, if the cross reference shows Z(23) for the        
timestamp, change the PCML for the parameter from              
                                                               
<data name="TS" type="timestamp" usage="input" />              
                                                               
to                                                              
                                                               
<data name="TS" type="timestamp" usage="input" length="23"/>    

PTFs Available

R720 SI69115 PTF Cover Letter   9123
R730 SI68994 PTF Cover Letter   9116

Affected Modules

         
         

Affected Publications

Summary Information

Status............................................ CLOSED PER
HIPER........................................... No
Component.................................. 5770WDS30
Failing Module.......................... NONE
Reported Release................... R720
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, 2019 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:
17 May 2019