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



Hi Tom,

As part of this discussion, Douglas Handy said

---
"Can you clarify something for me regarding enhancement #31, EVALC?

>[ ]  31  $20  EVALC move corresponding from one data structure to another.

I'd vote for this if it can handle my environment, but I'm not sure it will.
I
started a practice back on the S/34, where each physical file has a unique
2-character prefix used in all field names for that file.  This helped to
avoid
name collissions since we did not have qualified DS naming.  Thus one file
might
have fields xxCUST and xxNAME while the next has yyCUST and yyNAME, etc."
---

This was generally considered a good idea way back in the days of yore (i.e.
before externally-defined files), and if these legacy files were converted
directly to externally-described without making any field name changes, you
end up with a lot of files with 2-character field name prefixes.

Which leads to the situation where in order to use COBOL's MOVE
CORRESPONDING, or the proposed EVALC, you'd have to get rid of the prefixes.

hth,
Peter Dow
Dow Software Services, Inc.
909 793-9050 voice
909 522-3214 cellular
909 793-4480 fax


----- Original Message -----
From: "Tom Liotta" <thomas@inorbit.com>
To: <rpg400-l@midrange.com>
Sent: Wednesday, August 21, 2002 5:04 PM
Subject: Same prefixes (was Re: It's That Time Again! etc.)


> I thought I was following the discussion of the issue up to this point,
but now I'm lost.
>
> Whay have prefixes at all if they're going to be the same???
>
> Tom Liotta
>
> ----- Original Message -----
> >    3. Re: It's That Time Again!  The 2002 RPG Enhancement Poll (Douglas
Handy)
> >
> > >Doug, even if the compiler doesn't add prefix-dropping(*), you could
> > >apply the same prefix to all your structures.
> >
> > Somehow I had overlooked the obvious.  Thanks.
>
> --
> __________________________________________________________
> Sign-up for your own FREE Personalized E-mail at Mail.com
> http://www.mail.com/?sr=signup
>
> _______________________________________________
> This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list
> To post a message email: RPG400-L@midrange.com
> To subscribe, unsubscribe, or change list options,
> visit: http://lists.midrange.com/cgi-bin/listinfo/rpg400-l
> or email: RPG400-L-request@midrange.com
> 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 ...

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.