|
I was using the RDi help. I thought that was supposed to update on the
fly (not be based on the latest install of RDi). I guess not. I now see
the pdf with the updated help for Like.
http://pic.dhe.ibm.com/infocenter/iseries/v7r1m0/topic/books/sc092508a.pdf
Back to ExtName:
Another "interesting" (and by interesting I mean non-intuitive) aspect of
using a data structure using Extname is that it requires you to specify
'end-ds.' A DS definition using LikeRec doesn't require that, why would
ExtName? I'm sure there's some valid reason under the covers, but above
the covers I now have to be aware of when to put an end-ds and when not to
(when not specifying any subfields in the program).
Interesting that the error message tells me the end-ds is assumed, yet is
a level 20 compile error.
RNF0202: THE END-DS IS MISSING FOR A GROUP CONTAINING FREE-FORM; END-DS IS
ASSUMED.
Help for ExtName (in the new help document) makes no mention of requiring
end-ds. However a webpage I found on the new freeform does mention it:
https://www.ibm.com/developerworks/ibmi/library/i-ibmi-rpg-support/
Kurt Anderson
Sr. Programmer/Analyst - Application Development, Service Delivery Platform
-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx]
On Behalf Of John Yeung
Sent: Tuesday, April 15, 2014 6:06 PM
To: RPG programming on the IBM i (AS/400 and iSeries)
Subject: Re: DS Subfield in freeform
On Tue, Apr 15, 2014 at 4:12 PM, Kurt Anderson <Kurt.Anderson@xxxxxxxxxxxx>
wrote:
You're right. I didn't think to look at the help for Like. Though Ijust did and didn't see anything about a supported second parameter.
Are you looking at the right manual?
By Googling, I found this:
https://www.ibm.com/developerworks/community/wikis/home?lang=en#!/wiki/We13116a562db_467e_bcd4_882013aec57a/page/New%20with%20IBM%20i%207.1%20TR%207%20-%20Free-form%20H,%20F,%20D%20and%20P%20statements%20for%20RPG
which is good reading in itself, and which in turn has a link for the full
PDF:
http://pic.dhe.ibm.com/infocenter/iseries/v7r1m0/topic/books/sc092508a.pdf
Remember, this stuff was introduced *after* 7.1.
John
--
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.
--
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.
As an Amazon Associate we earn from qualifying purchases.
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.