APAR status
Closed as program error.
Error description
Editing ILE RPG source with embedded SQL the Remote Systems LPEX Editor in Rational Developer for i (RDI) 9.6.0.8 may incorrectly report parser errors (Unexpected END encountered) in a valid SQL statement. The problem occurs when the source has a SQL statement which contains a CASE (ABC) WHEN ... END clause where the term following the CASE is enclosed in round brackets. This example has the term (ABC) in brackets, which leads to the incorrect parse error.
Local fix
If possible, remove the brackets around the term following the CASE.
Problem summary
**************************************************************** * USERS AFFECTED: * * ILE RPG developers using RDi to edit SQLRPGLE source. * **************************************************************** * PROBLEM DESCRIPTION: * * Embedded SQL with a CASE expression using brackets is * * incorrectly interpreted. Eg. CASE ( â ¦ ) WHEN â ¦ END * **************************************************************** * RECOMMENDATION: * **************************************************************** Syntax errors are incorrectly reported in the editor for the valid SQL statement.
Problem conclusion
This problem is fixed in the RDi 9.6.0.11 update. Product web page: https://www.ibm.com/us-en/marketplace/rational-developer-for-i Fix List and download link: http://www.ibm.com/support/docview.wss?uid=swg27038481
Temporary fix
Comments
APAR Information
APAR number
SE74018
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-07-22
Closed date
2021-09-21
Last modified date
2021-09-21
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Modules/Macros
SQLsynt
Fix information
Fixed component name
RDI RPG AND COB
Fixed component ID
5724Y99RC
Applicable component levels
[{"Line of Business":{"code":"LOB57","label":"Power"},"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"}]
Document Information
Modified date:
22 September 2021