Sorry Justin but Verify in RDI does not find the problems.
I took the following line.
dcl-ds TD_PLLSF ExtName('PLLSF') Qualified Template end-ds;
and changed to
dcl-ds TD_PLLSF ExtName(PLLSF) Qualified Template end-ds;
Did a compile and got the error data structure not valid (Fields from file
where used to define a structure named RecordIn). Put in RDI and ran a
verify and verify said no problems so yes you do need to change to RPGLE
and compile to find the errors.
I do an RDi Verify, which I think accomplishes pretty much the same
From: Alan Campin [mailto:alan0307d@xxxxxxxxx]
Sent: Thursday, October 11, 2018 2:08 PM
To: RPG programming on the IBM i / System i <rpg400-l@xxxxxxxxxxxx>
Subject: Re: Problems using embedded SQL
One of the tricks that I use which I discussed before with Embedded SQL is
to change the type of the source member to RPGLE from SQLRPGLE and then do
a 15 and just compile.
You will have an error each place you have an SQL statement but you can
ignore. When I look at the other errors I find the problem.