Page 1 of 1

Error compiling the RPG program

Posted: Mon Apr 22, 2013 5:23 am
by YehudaV
Hello,

I'm trying to complie a SQLRPGLE program after the DSPF is converted in PUI and getting the following messages:
*RNF0267 20 1 Character literal has missing trailing apostrophe; trailing apostrophe assumed.
*RNF0312 20 1 A right parenthesis is expected but is not found.
*RNF0633 20 1 An unexpected right parenthesis was encountered; right parenthesis is ignored.
*RNF2023 30 2 The keyword is not recognized; keyword is ignored.
All errors are on the same statement:
0019.00 H/DEFINE PROFOUNDUI
0020.00 *
002100 FDLK301Ds CF E WORKSTN SFILE(SFLR1:RRN1)
002200 F INFDS(CURS)
002300 F HANDLER('PROFOUNDUI(HANDLER)')
=====> aaaaaaa bcccccccd e
RNF2023 30 a 002300 The keyword is not recognized; keyword is ignored.
RNF0312 20 b 002300 A right parenthesis is expected but is not found.
RNF0607 00 c 002300 Text is skipped to recover from the previous error.
RNF0633 20 d 002300 An unexpected right parenthesis was encounter right
parenthesis is ignored.
RNF0267 20 e 002300 Character literal has missing trailing apostrophe; traling apostrophe assumed.
*RNF2023 30 002300 The keyword is not recognized; keyword is ignored.

All needed PTF are applied.


Any idea what the problem is?


I like to add, that is the same whencompiling RPGLE programs as well.
I'm trying PUI version 4.5.2

Re: Error compiling the RPG program

Posted: Mon Apr 22, 2013 7:52 am
by YehudaV
Sorry, it was my fault.
The compiler by default was taking V5R4 for the Target Release.
After I changed the programs were compiled correctly.