× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



The rest of the program is

But I hear you

Taking time to train other programmers

Cannot go all out yet

Sent from my iPhone

On Aug 9, 2022, at 11:30 PM, Carel via RPG400-L <rpg400-l@xxxxxxxxxxxxxxxxxx> wrote:

May still create the same error.


Op 10-8-2022 om 03:14 schreef Vern Hamberg via RPG400-L:
Time to use free-form file specifications!!

Vern

On 8/9/2022 9:54 AM, dfreinkel@xxxxxxxxxxxxxxxxx wrote:
I found my dumb error but I am surprised the editor did not highlight the
error. The F-Spec was 1 character out of position after the file name and
that caused the issue.

Once adjusted it compiled normally.

Thank you.
Darryl Freinkel
A4G
Telephone: 770.321.8562 Mobile: 678.355.8562

-----Original Message-----
From: RPG400-L <rpg400-l-bounces@xxxxxxxxxxxxxxxxxx> On Behalf Of Hiebert,
Chris
Sent: Tuesday, August 9, 2022 10:11 AM
To: RPG programming on IBM i <rpg400-l@xxxxxxxxxxxxxxxxxx>
Subject: RE: SQL0312 - in RPG compile.

SQL0312 Variable &1 not defined or not usable.

What variable?


You probably used a different compile command between the two programs.

Check RPGPPOPT(*LVL2) or the Date/time options.


Chris Hiebert
Senior Programmer/Analyst
Disclaimer: Any views or opinions presented are solely those of the author
and do not necessarily represent those of the company.

From: RPG400-L <rpg400-l-bounces@xxxxxxxxxxxxxxxxxx> On Behalf Of
dfreinkel@xxxxxxxxxxxxxxxxx
Sent: Tuesday, August 9, 2022 7:40 AM
To: 'RPG programming on IBM i' <rpg400-l@xxxxxxxxxxxxxxxxxx>
Subject: SQL0312 - in RPG compile.


I need help with this one.





I have a program that worked for about a month. I renamed the RPG program

and display file, changing only the member names and therefor the program

names. No record formats were renamed. I did change the display file name in

the RPG program.





After renaming, the SQL precompiler fails with SQL0312.





I do not see a difference between the previous names and the renamed names

that should trigger the SQL0312.





Has anyone experienced this problem before and how did you resolve it?





TIA.





Darryl Freinkel



A4G
--
This is the RPG programming on IBM i (RPG400-L) mailing list To post a
message email: RPG400-L@xxxxxxxxxxxxxxxxxx To subscribe, unsubscribe, or
change list options,
visit: https://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives at
https://archive.midrange.com/rpg400-l.

Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related
questions.

Help support midrange.com by shopping at amazon.com with our affiliate link:
https://amazon.midrange.com



--
This is the RPG programming on IBM i (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/rpg400-l.

Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related questions.

Help support midrange.com by shopping at amazon.com with our affiliate link: https://amazon.midrange.com


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.