APAR status
Closed as program error.
Error description
When editing ILE RPG source in Rational Developer for i (RDI) 9.6.0.11, one can select a field or constant name and perform the Refactor>Rename action (ALT+SHIFT+R) to rename all instance of that name in the source. In RDI version 9.6.0.11 this was changed to not accept a new target name which matched a name already in use. However, RDi users may sometimes wish to rename field uses in the program to match a different field that already exists. This should be allowed on the refactor rename action, but with a suitable warning caution message.
Local fix
Temporarily hide the existing definition statement for the new target name by commenting it out temporarily, perform the refactor rename operation, and then restore the commented out definition.
Problem summary
**************************************************************** * USERS AFFECTED: * * ILE RPG developers using RDi to edit RPGLE source * **************************************************************** * PROBLEM DESCRIPTION: * * Refactor Rename should allow but warn for a duplicate new * * name. * **************************************************************** * RECOMMENDATION: * **************************************************************** The Refactor Rename action should let users choose an existing name, but warn them.
Problem conclusion
This problem is fixed in the RDi 9.6.0.12 update.
Temporary fix
Comments
APAR Information
APAR number
SE76366
Reported component name
RDI RPG AND COB
Reported component ID
5724Y99RC
Reported release
960
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt / Xsystem
Submitted date
2021-10-12
Closed date
2022-08-28
Last modified date
2022-08-28
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Modules/Macros
Editor
Fix information
Fixed component name
RDI RPG AND COB
Fixed component ID
5724Y99RC
Applicable component levels
[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSAE4W","label":"Rational Developer for i"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"960","Line of Business":{"code":"LOB57","label":"Power"}}]
Document Information
Modified date:
29 August 2022