Page 1 of 1

Error compiling SQLRPGLE generated by jumpStart

Posted: Wed Feb 18, 2015 4:37 am
by epinar
Good morning,

I generate an application using JumpStar.
Image_3.jpg
Image_3.jpg (222.61 KiB) Viewed 23895 times
However SQLRPGLE that generated me not compile correctly.

I had to add the definition of prototypes early in the program.
Image_2.jpg
Image_2.jpg (110.06 KiB) Viewed 23895 times
And also I had to remove the F line ALIAS and lines D ALIAS.
Image.jpg
Image.jpg (112.71 KiB) Viewed 23895 times

Is this correct, or am I doing something wrong?

Thank You.

Re: Error compiling SQLRPGLE generated by jumpStart

Posted: Wed Feb 18, 2015 11:49 am
by Scott Klement
Which release of IBM i are you running?

Re: Error compiling SQLRPGLE generated by jumpStart

Posted: Wed Feb 18, 2015 1:01 pm
by epinar
I run release 6.1 of IBM.

Re: Error compiling SQLRPGLE generated by jumpStart

Posted: Wed Feb 18, 2015 5:15 pm
by Scott Klement
It looks like our developers never tested this on 6.1, as they are using 7.1 features. I'm surprised that nobody has pointed this out before... but, I tried it, and just like you said, it generates code that uses ALIAS and omits prototypes, and these are features that require IBM i 7.1

We'll set up a bug report for this and get it fixed.

Re: Error compiling SQLRPGLE generated by jumpStart

Posted: Tue Aug 25, 2015 5:59 pm
by negley
I am getting this error on 7.1. Any idea why i would get this error?

Re: Error compiling SQLRPGLE generated by jumpStart

Posted: Wed Aug 26, 2015 7:47 pm
by Scott Klement
You're getting which error? Are you up-to-date on PTFs?

Re: Error compiling SQLRPGLE generated by jumpStart

Posted: Mon Aug 31, 2015 9:57 am
by negley
They are current since September 2014. Attached is the error i receive. This post sounded very similar.

Profound release is Version: 5.0.9.

Re: Error compiling SQLRPGLE generated by jumpStart

Posted: Mon Aug 31, 2015 10:01 am
by Scott Klement
So the error you're receiving is that the precompile failed. To learn more, you'll need to look at the spooled file that the precompiler outputs to see what the problem is.