I am not able to compile a RPGLE free format PGM with embedded SQL.
2. My simple basic code:
from RPFAGE ;
*inlr = *on ;
(RPGAGE is the PF name and RAGNA is one of the fields in PF RPGAGE PF contains 100 records)
3, Member type is SQLRPGLE
4. Compile command:
CRTSQLRPGI OBJ(RES0101) SRCFILE(QRSUMSRC)
5. SQL pre-compiler error:
SQL0053 10 No SQL statements found.
6. RPG compilation error:
*RNF5347 30 1 An assignment operator is expected with the EVAL operation.
*RNF7030 30 48 000200 The name or indicator EXEC is not defined.
*RNF7030 30 48 000200 The name or indicator SQL is not defined.
I would appreciate help in getting the compilation thru and run the PGM.
Free Guide: Managing storage for virtual environments
Complete a brief survey to get a complimentary 70-page whitepaper featuring the best methods and solutions for your virtual environment, as well as hypervisor-specific management advice from TechTarget experts. Don’t miss out on this exclusive content!