Just to add, if it is SQL you are looking at, there is an Embedded SQL Programming manual, 7.2 version is at
https://www.ibm.com/docs/en/ssw_ibm_i_72/pdf/rzajppdf.pdf - there's a section on Basic processes of the SQL precompiler that might explain more.
Regards
Vern
On Fri, 11 Aug, 2023 at 11:07 AM, VERNON HAMBERG Owner via RPG400-L <rpg400-l@xxxxxxxxxxxxxxxxxx> wrote:
To: rpg400-l@xxxxxxxxxxxxxxxxxx
Cc: vhamberg@xxxxxxxxxxxxxxx; rpg400-l@xxxxxxxxxxxxxxxxxx
Hi Alan
The only pre-compiler I know is the SQL pre-compiler - is this what you refer to? That pre-compiler converts embedded SQL into calls to various SQL-engine programs, among other things like checking for any errors in the code - could be invalid SQL syntax, for example.
Hope that makes sense and is what you are asking about! :)
Vern
On Fri, 11 Aug, 2023 at 10:25 AM, Alan Cassidy <cfuture@xxxxxxxxxxx<mailto:cfuture@xxxxxxxxxxx>> wrote:
To: rpg400-l@xxxxxxxxxxxxxxxxxx<mailto:rpg400-l@xxxxxxxxxxxxxxxxxx>
Can someone explain exactly what the "diagnostic check" pre-compiler
does in an RPGlE compile?
Thanks!
As an Amazon Associate we earn from qualifying purchases.