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



Not going to comment on the SQL/GOTO bit - haven’t read that and I hate SQL’s pathetic error handling to begin with.

But … DDS is to be expected. It is after all a book about what you _should_ be doing - if there are no points of reference for those who have not yet made the jump …


Jon Paris

www.partner400.com
www.SystemiDeveloper.com

On Oct 21, 2016, at 4:52 PM, Joni V. <joni_vanderheijden@xxxxxxxxxxx> wrote:

Sneaky Redbooks, trying to get their GOTO statements back using the SQL whenever statement.

No, seriously, isn't including those kind of jumps in your code a really bad idea? It's on page 180 of the Redbook by the way.

I was also a bit surprised to see a DDS file definition. But it's fantastic to see a re-vamp of this Redbook!

-Joni

________________________________
From: RPG400-L <rpg400-l-bounces@xxxxxxxxxxxx> on behalf of John Yeung <gallium.arsenide@xxxxxxxxx>
Sent: Friday, October 21, 2016 12:08 AM
To: RPG programming on the IBM i (AS/400 and iSeries)
Subject: Re: RPG redbook

On Thu, Oct 20, 2016 at 6:00 PM, Evan Harris <auctionitis@xxxxxxxxx> wrote:
I think I've learnt more from fixing coding errors in examples than I ever
did from cutting and pasting working code

Ah, so the errors are a deliberate ploy by the author(s) to make the
reader learn more. Clever. ;)

Ironically, one of the worst books I ever remember trying to learn from was
a book on Python.

Worst because it was TOO copy-pastable, or because it had too many
errors, or because it just didn't explain things well?

If I may ask, do you remember which book it was?

John Y.
--
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.
--
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.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
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.