Error compiling SQLRPGLE generated by jumpStart

Use this board to ask questions or have discussions with other JumpStart users.
epinar
New User
Posts: 7
Joined: Wed Jun 11, 2014 4:10 am
First Name: Enrique
Last Name: Pinar
Company Name: Hospitales NISA
Country: Spain
Contact:

Error compiling SQLRPGLE generated by jumpStart

Post by epinar »

Good morning,

I generate an application using JumpStar.
Image_3.jpg
Image_3.jpg (222.61 KiB) Viewed 23836 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 23836 times
And also I had to remove the F line ALIAS and lines D ALIAS.
Image.jpg
Image.jpg (112.71 KiB) Viewed 23836 times

Is this correct, or am I doing something wrong?

Thank You.
Scott Klement
Experienced User
Posts: 2711
Joined: Wed Aug 01, 2012 8:58 am
First Name: Scott
Last Name: Klement
Company Name: Profound Logic
City: Milwaukee
State / Province: Wisconsin

Re: Error compiling SQLRPGLE generated by jumpStart

Post by Scott Klement »

Which release of IBM i are you running?
epinar
New User
Posts: 7
Joined: Wed Jun 11, 2014 4:10 am
First Name: Enrique
Last Name: Pinar
Company Name: Hospitales NISA
Country: Spain
Contact:

Re: Error compiling SQLRPGLE generated by jumpStart

Post by epinar »

I run release 6.1 of IBM.
Scott Klement
Experienced User
Posts: 2711
Joined: Wed Aug 01, 2012 8:58 am
First Name: Scott
Last Name: Klement
Company Name: Profound Logic
City: Milwaukee
State / Province: Wisconsin

Re: Error compiling SQLRPGLE generated by jumpStart

Post 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.
negley
Profound User
Posts: 45
Joined: Tue Mar 11, 2014 2:50 pm
First Name: William
Last Name: Negley
Company Name: Utz Quality Foods
Contact:

Re: Error compiling SQLRPGLE generated by jumpStart

Post by negley »

I am getting this error on 7.1. Any idea why i would get this error?
Scott Klement
Experienced User
Posts: 2711
Joined: Wed Aug 01, 2012 8:58 am
First Name: Scott
Last Name: Klement
Company Name: Profound Logic
City: Milwaukee
State / Province: Wisconsin

Re: Error compiling SQLRPGLE generated by jumpStart

Post by Scott Klement »

You're getting which error? Are you up-to-date on PTFs?
negley
Profound User
Posts: 45
Joined: Tue Mar 11, 2014 2:50 pm
First Name: William
Last Name: Negley
Company Name: Utz Quality Foods
Contact:

Re: Error compiling SQLRPGLE generated by jumpStart

Post 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.
Attachments
SQL9001.png
SQL9001.png (12.54 KiB) Viewed 23764 times
Scott Klement
Experienced User
Posts: 2711
Joined: Wed Aug 01, 2012 8:58 am
First Name: Scott
Last Name: Klement
Company Name: Profound Logic
City: Milwaukee
State / Province: Wisconsin

Re: Error compiling SQLRPGLE generated by jumpStart

Post 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.
Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests