IBM Support

Fall 2026: Implicit conversion for OPTIONS(*STRING) parameters

News


Abstract

Information about the PTFs for the ILE RPG enhancement that allows any type of string value (char, graph,ucs-2) to be passed for an OPTIONS(*STRING) parameter

Content

You are in: RPG Cafe Fall 2026: Implicit conversion for OPTIONS(*STRING) parameters

Short URL: https://ibm.biz/rpgcafe_fall_2026_options_string_ccsidconv

 

Fall 2026: Implicit conversion for OPTIONS(*STRING) parameters

 

Details

Prior to this enhancement, you could only pass string parameters with the job CCSID or CCSID(*HEX) for a parameter defined with OPTIONS(*STRING).

Implicit CCSID conversion is now supported for parameters defined with OPTIONS(*STRING). Character, graphic, and UCS-2 parameters are now converted to the default job CCSID or the mixed-byte CCSID related to the default job CCSID. (The default job CCSID is the same as the job CCSID unless the job CCSID is 65535.)

If the passed parameter is character with a specific CCSID that only supports single-byte characters, such as EBCDIC CCSID 37 or ASCII CCSID 819, then the parameter is converted to the default job CCSID.

If the passed parameter is character with CCSID *UTF8 (1208), or a specific CCSID that supports both single-byte and double-byte characters, then the parameter is converted to the mixed SBCS/DBCS CCSID related to the default job CCSID.

If the passed parameter is graphic or UCS-2, then the parameter is converted to the mixed SBCS/DBCS CCSID related to the default job CCSID.

.

..

PTFs for 7.5 and 7.6

7.5:

  • ILE RPG compiler: 5770WDS (PTF number to be updated later)

7.6:

  • ILE RPG compiler: 5770WDS (PTF number to be updated later)
  • ILE RPG compiler, TGTRLS(V7R5M0): 5770WDS (PTF number to be updated later)
 

RDi support

A later update for RDi will support this enhancement.

 

Documentation

The 7.5 and 7.6 ILE RPG Reference and ILE RPG Programmer's Guide are updated with full information about this enhancement. Start at the "What's new since 7.5", or "What's new since 7.6" section in the Reference.

[{"Type":"MASTER","Line of Business":{"code":"LOB73","label":"Power TPS"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SS69QP","label":"Rational Development Studio for i"},"ARM Category":[],"Platform":[{"code":"PF012","label":"IBM i"}],"Version":"and future releases;7.5.0;7.6.0"}]

Document Information

Modified date:
27 October 2026

UID

ibm17289835