APAR status
Closed as program error.
Error description
In Rational Developer for i (RDi) v9.6.0.8, when editing ILE RPG source, Content Assist (CTRL + SPACE) can be used to auto-suggest text to be inserted at the cursor position. In the example source line "VALUES(:myds.'red','blue')" which is part of an embedded SQL statement, Content Assist right after the period, intended to suggest the subfield name for the qualified data structure, is unexpectedly removing the following character literals, resulting in the line "VALUES(:myds.subfield)". RPG Content Assist should only be removing trailing text which was a continuing part of the token being appended to. In this case, the character literals were not part of that "myds" token. In the following example using content assist when the cursor is put after "exp", selecting "expression" and/or one of its subfields, the remaining parameters are removed: dcl-ds expression qualified; parm1 char(10) pos(1); parm2 char(10) pos(30); end-ds; ... exec sql insert into table (parm1, parm2) values (: exp'hello','bye');
Local fix
Before prompting Content Assist (Ctrl+SPACE), insert a space character after the cursor.
Problem summary
**************************************************************** * USERS AFFECTED: * * ILE RPG developers using (CTRL+SPACE) Content Assist when * * editing RPGLE source in RDi. * **************************************************************** * PROBLEM DESCRIPTION: * * RPG Content Assist for SQL host vars incorrectly inserts the * * suggested name. * **************************************************************** * RECOMMENDATION: * **************************************************************** RPG Content Assist incorrectly removes some of the text that follows when inserting a suggested host variable name.
Problem conclusion
This problem is fixed in the RDi 9.6.0.12 update.
Temporary fix
Comments
APAR Information
APAR number
SE73744
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
2020-05-28
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
ContentA
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