× 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.



Too easy to circumvent Brian. That's why I wanted a compiler feature.


Jon Paris

www.partner400.com
www.SystemiDeveloper.com

On Jul 19, 2017, at 5:24 PM, Brian May <bmay@xxxxxxxxxxxxxxxxx> wrote:

That function could be implemented with a rather simple precompiler, I think.

Brian May
Director
Pre-Sales and Customer Solutions
Profound Logic Software
http://www.profoundlogic.com
937-439-7925 Phone
877-224-7768 Toll Free


The IBM i Modernization Experts
www.profoundlogic.com



Profound.js: Agile, Connected, Secure
Bring the benefits of Node.js and Agile Modernization to your IBM i Enterprise
Click here to learn more


-----Original Message-----
From: RPG400-L [mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of Jon Paris
Sent: Wednesday, July 19, 2017 4:20 PM
To: Rpg400 Rpg400-L <rpg400-l@xxxxxxxxxxxx>
Subject: Re: Who the bloody eff still codes CABEQ in this century?!?!?!?

I did actually raise an internal requirement at IBM for both the COBOL and RPG compilers to allow a user-specified list of "illegal" op-codes which would have achieved this purpose. The idea was to make it simpler for shops to impose coding standards.

Could never convince any of my teammates to go for it though.


Jon Paris

www.partner400.com
www.SystemiDeveloper.com

On Jul 19, 2017, at 3:33 PM, Dan <dan27649@xxxxxxxxx> wrote:

What are the chances we could get IBM / Barbara to get the compiler to
puke on any of the CAB* opcodes? At a minimum, the compiler should
post a message requiring a reply to the question, "How many years
before you retire?" and, if the response is greater than 1, tell the
user to drop the bloody CAB* opcodes and try again.

Perhaps less complex is to just update SEU one last time that flags
any
CAB* opcode as a syntax error. Cuz you damn well know they're not
using RDi!

Yes, there are other opcodes, including cousin GOTO (so flag that as a
syntax error as well), but CAB* opcodes are so obscure, I spend a
minute or two just trying to understand what is trying to be accomplished.

Is it 5:00 yet?

<Rant /done>

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

Please contact support@xxxxxxxxxxxx for any subscription related questions.

Help support midrange.com by shopping at amazon.com with our affiliate
link: http://amzn.to/2dEadiD

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

Please contact support@xxxxxxxxxxxx for any subscription related questions.

Help support midrange.com by shopping at amazon.com with our affiliate link: http://amzn.to/2dEadiD
--
This is the RPG programming on the IBM i (AS/400 and iSeries) (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/rpg400-l.

Please contact support@xxxxxxxxxxxx for any subscription related questions.

Help support midrange.com by shopping at amazon.com with our affiliate link: http://amzn.to/2dEadiD


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.