IBM Support

SE65069 - RPGLE-CMPL SUPPORT UNICODE SOURCE WITH NEW TGTCCSID PARAMETER

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 SUPPORT UNICODE SOURCE WITH NEW TGTCCSID PARAMETER

Error Description

A new command parameter TGTCCSID is added, to support compiling
from Unicode source files in IFS.                              
                                                               
The ILE RPG compiler normally reads the source files for a      
compile in the CCSID of the primary source file. Since the      
compiler only supports reading the source in an EBCDIC CCSID,  
this means that the compile will fail when the primary source  
file has a Unicode CCSID such as UTF-8 or UTF-16.              
                                                               
The TGTCCSID parameter for the CRTBNDRPG and CRTRPGMOD allows  
the RPG programmer to specify the CCSID with which the compiler
will read the source files for the compile. Specify            
TGTCCSID(*JOB) or specify a specific EBCDIC CCSID such as      
TGTCCSID(37) or TGTCCSID(5035).                                
                                                               
The default is TGTCCSID(*SRC) which is the same as the current  
behavior. Unicode source cannot be compiled with                
TGTCCSID(*SRC).                                                
                                                               
When compiling Unicode source with CRTSQLRPGI, specify          
RPGPPOPT(*LVL1) or *LVL2, and COMPILEOPT('TGTCCSID(*JOB)')      
or or some other TGTCCSID parameter value.                      

Problem Summary

****************************************************************
* USERS AFFECTED: All ILE RPG programmers who compile from     *
*                 source in the Integrated File System.        *
****************************************************************
* PROBLEM DESCRIPTION: A new command parameter, TGTCCSID, is   *
*                      added to the CRTBNDRPG and CRTRPGMOD    *
*                      commands, to support compiling from     *
*                      Unicode source files in IFS.            *
****************************************************************
* RECOMMENDATION:                                              *
****************************************************************
A new command parameter, TGTCCSID, is added to the CRTBNDRPG and
CRTRPGMOD commands, to support compiling from Unicode source    
files in IFS.                                                  
                                                               
The ILE RPG compiler normally reads the source files for a      
compile in the CCSID of the primary source file. Since the      
compiler only supports reading the source in an EBCDIC CCSID,  
this means that the compile will fail when the primary source  
file has a Unicode CCSID such as UTF-8 or UTF-16.              
                                                               
The TGTCCSID parameter for the CRTBNDRPG and CRTRPGMOD allows  
the RPG programmer to specify the CCSID with which the compiler
will read the source files for the compile. Specify            
TGTCCSID(*JOB) or specify a specific EBCDIC CCSID such as      
TGTCCSID(37) or TGTCCSID(5035).                                
                                                               
The default is TGTCCSID(*SRC) which is the same as the current  
behavior. Unicode source cannot be compiled with                
TGTCCSID(*SRC).                                                
                                                               
When compiling Unicode source with CRTSQLRPGI, specify          
RPGPPOPT(*LVL1) or *LVL2, and COMPILEOPT('TGTCCSID(*JOB)')      
or or some other TGTCCSID parameter value.                      

Problem Conclusion

The ILE RPG compiler is enhanced with a new TGTCCSID            
parameter for the CRTBNDRPG and CRTRPGMOD commands.            

Temporary Fix

Comments

Circumvention


PTFs Available

R710 SI62954  1000

R720 SI72287  1000

R730 SI72288  1000

Affected Modules


         
         

Affected Publications

Summary Information

Status............................................CLOSED PER
HIPER...........................................No
Component..................................5770WDS30
Failing Module..........................NONE
Reported Release...................R710
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

[{"Type":"MASTER","Line of Business":{"code":"LOB08","label":"Cognitive Systems"},"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SWG60","label":"IBM i"},"Platform":[{"code":"PF012","label":"IBM i"}],"Version":"7.2.0"},{"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":""}}]

Document Information

Modified date:
25 February 2020