Good day,
I have an RPG program where i would like to add SQLRPG code.
But i have problems.
I had SQLRPG lines code in the source and i try this :
First attempt :
I change the type by PDM and Compile the source by SI.
Problem : SI always consider that the program type is RPG , so :
- When i'm trying to add SQLRPG in SEU, i have the error "The Control-Level-Indicator entry is invalid."
- Compilation generate errors on the SQL lines codes, and type return to RPG.
Second Attempt :
I try to compilate in command line with :
CRTSQLRPG PGM(MXXXX/PXXX) SRCFILE(SRCXXX) GENLVL(21).
But the compile fail because of the error 20 (normaly disabled by GENLVL(21))
NB : My program compile and is working in standart RPG (without SQLRPG Line code) in SI with Gravity Level set to 21. So there are errors 20 , not blocking for executions.
Anyone can help me ?
Thank you all
I have an RPG program where i would like to add SQLRPG code.
But i have problems.
I had SQLRPG lines code in the source and i try this :
First attempt :
I change the type by PDM and Compile the source by SI.
Problem : SI always consider that the program type is RPG , so :
- When i'm trying to add SQLRPG in SEU, i have the error "The Control-Level-Indicator entry is invalid."
- Compilation generate errors on the SQL lines codes, and type return to RPG.
Second Attempt :
I try to compilate in command line with :
CRTSQLRPG PGM(MXXXX/PXXX) SRCFILE(SRCXXX) GENLVL(21).
But the compile fail because of the error 20 (normaly disabled by GENLVL(21))
NB : My program compile and is working in standart RPG (without SQLRPG Line code) in SI with Gravity Level set to 21. So there are errors 20 , not blocking for executions.
Anyone can help me ?
Thank you all
Comment