A fix is available
APAR status
Closed as program error.
Error description
When editing ILE RPG source that contains SQL statements (SQLRPGLE) using the Remote Systems LPEX Editor in Rational Developer for i (RDI) 9.5.0.2, if the embedded SQL contains declarations and precedes RPG declarations, the editor may incorrectly flag the source with a warning. Moving the mouse cursor over the marker at the side of the source will reveal the message "Misplaced construct". The source compiles without error. Here is an example of what may cause the issue: exec sql <some-sql-declaration>; dcl-s myfield char(1);
Local fix
Move the embedded SQL statement to be after all RPG declarations.
Problem summary
**************************************************************** * USERS AFFECTED: * * ILE RPG developers using RDi. * **************************************************************** * PROBLEM DESCRIPTION: * * In RDi 9.5 embedded SQL declarations cause "misplaced * * construct" messages in editor. * **************************************************************** * RECOMMENDATION: * **************************************************************** When editing ILE RPG source that contains SQL statements (SQLRPGLE) using the Remote Systems LPEX Editor in Rational Developer for i (RDI) 9.5.0.2, if the embedded SQL contains declarations and precedes RPG declarations, the editor may incorrectly flag the source with a warning. Moving the mouse cursor over the marker at the side of the source will reveal the message "Misplaced construct". The source compiles without error.
Problem conclusion
This problem is fixed in the RDi 9.5.0.3 update.
Temporary fix
Comments
APAR Information
APAR number
SE64051
Reported component name
RDI RPG AND COB
Reported component ID
5724Y99RC
Reported release
950
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt / Xsystem
Submitted date
2016-02-12
Closed date
2016-04-22
Last modified date
2016-04-22
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
R950 PSY
UP
[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSAE4W","label":"Rational Developer for i"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"950","Line of Business":{"code":"LOB57","label":"Power"}}]
Document Information
Modified date:
03 November 2021