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



Way to think outside of the box. Well done.

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 Glenn Gundermann
Sent: Wednesday, March 12, 2014 5:24 PM
To: RPG programming on the IBM i (AS/400 and iSeries)
Subject: Re: DS Group Field Names

Hi Booth,

BRILLIANT!

It compiles. Thanks so much!

Glenn :-)
Email: glenn.gundermann@xxxxxxxxx
Cell: (416) 317-3144


Subject: Re: DS Group Field Names
From: "Booth Martin" <booth@xxxxxxxxxxxx>
Date: Wed, March 12, 2014 3:39 pm
To: "RPG programming on the IBM i (AS/400 and iSeries)"
<rpg400-l@xxxxxxxxxxxx>


Does this work? I have not compiled it.

D ds
D overCharges...
D Level1
D y1vrP1 overlay(overChargesLevel1)

On 3/12/2014 2:24 PM, Glenn Gundermann wrote:
Hi Barbara,

Thanks for confirming.

Do you foresee a change that would allow a way to have a long name
and either not using the ... or a way for the next D line to end the
continuation?

Yours truly,

Glenn



Subject: Re: DS Group Field Names
From: "Barbara Morris" <bmorris@xxxxxxxxxx>
Date: Wed, March 12, 2014 2:36 pm
To: "RPG programming on the IBM i (AS/400 and iSeries)"
<rpg400-l@xxxxxxxxxxxx>


On 2014-03-11 16:50, Glenn Gundermann wrote:
...
Example Code 2 - This does not compile. ...

D overChargesLevel1...
D
D y1vrP1 overlay(overChargesLevel1)
Hi Glenn, what's happening here is that y1vrP1 is being used as the
last part of the continued name overChargesLevel1, even with the
blank line.
If you look in the cross reference, you'll see an entry for
OVERCHARGESLEVEL1Y1VRP1.

As Kurt says, you'd have to provide something in the fixed-form
entries for overChargesLevel1 to end the continued name. The only
thing you could do would be to code a length and data type, but that
defeats the whole purpose of defining overChargesLevel1 by its overlays.

--
Barbara

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