|
That is neither intuitive nor clear. The function names are far too terse
to be clear to anyone who does not have an intimate knowledge of the api.
On Tue, Dec 5, 2017 at 6:40 AM, john erps <jacobus.erps@xxxxxxxxx> wrote:
Using RpgMap (http://erps.me/RpgMap/Docs), the solution is much moreto
intuitive and clear.
Initialize table:
table = rm_m(
rm_a( '10' ) : rm_a( '006477244' ) :
rm_a( '18' ) : rm_a( '612726414' ) :
rm_a( '20' ) : rm_a( '612726414' )
);
Lookup:
duns = rm__a(table: '10' );
On Fri, Dec 1, 2017 at 5:51 PM, <JRusling@xxxxxxxxxxx> wrote:
Thanks Dave!
Exactly what i was looking for and I especially like the single blank
(RPG400-L)seperate Whs/Duns, makes it easier to double check verbally!it,
John
<snip>
I would use something more like this.
dcl-ds WhsLookup_t template;
Whs char(2);
*n char(1);
Duns char(9);
end-ds;
dcl-ds *n;
*n char(12) inz('10 006477244');
*n char(12) inz('18 612726414');
*n char(12) inz('20 612726414');
WhsTbl likeds(WhsLookup_t) dim(3) pos(1);
end-ds;
Sincerely,
Dave Clark </snip>
<br />
The information in this email is confidential and may be legally
privileged.
It is intended solely for the addressee. Access to this email by anyone
else is
unauthorized. If you are not the intended recipient, any disclosure,
copying,
distribution or any action taken or omitted to be taken in reliance on
is
prohibited and may be unlawful.
--
This is the RPG programming on the IBM i (AS/400 and iSeries)
--mailing list--
To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://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: https://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://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: https://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://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 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.