A fix is available
APAR status
Closed as program error.
Error description
The SQLTYPE keyword is not correctly recognized by the verifier in RDI 9.1. For example the valid line: D SomeName S SQLTYPE(CLOB:1048576) Will result in the message RNF3438: RNF3438: LIKE keyword is expected for field SOMENAME but not found; definition is ignored.
Local fix
Problem summary
**************************************************************** * USERS AFFECTED: * * RDi users who verify SQLRPGLE source. * **************************************************************** * PROBLEM DESCRIPTION: * * When using RDi to verify an SQLRPGLE source member that has * * a * * variable defined with the SQLTYPE keyword, the verifier * * issues messages msgRNF3308 (Keyword name not valid) and * * msgRNF3438 (LIKE keyword is expected). * **************************************************************** * RECOMMENDATION: * **************************************************************** When using RDi to verify an SQLRPGLE source member that has a variable defined with the SQLTYPE keyword, the verifier incorrectly issues the following messages: - RNF3308 Keyword name not valid; the keyword is ignored. - RNF3438 LIKE keyword is expected for field. If the SQLTYPE is one that causes a data structure to be generated, and the subfields are used in calculations, the verifier will issue msgRNF7030 (Name not defined) for the subfields.
Problem conclusion
This problem is fixed in the RDi 9.1.1 update. When the SQLTYPE is seen for a standalone field or subfield, the verifier will add the relevant definitions to its dictionary so that the fields can be used without error. For example, the following source will verify without error. D myBlob s sqltype(blob : 100) /free myBlob_len = 50; myBlob_data = someData; return;
Temporary fix
Comments
APAR Information
APAR number
SE59121
Reported component name
RDI RPG AND COB
Reported component ID
5724Y99RC
Reported release
910
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2014-06-01
Closed date
2014-12-31
Last modified date
2014-12-31
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Modules/Macros
Verifier
Fix information
Fixed component name
RDI RPG AND COB
Fixed component ID
5724Y99RC
Applicable component levels
R910 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":"9.1","Line of Business":{"code":"LOB57","label":"Power"}}]
Document Information
Modified date:
03 November 2021