• Subject: RE: externaly described data area
  • From: Bob Cozzi <BobCozzi@xxxxxxx>
  • Date: Tue, 10 Jun 1997 21:03:38 -0500

On Tuesday, June 10, 1997 11:57 AM, Dave Mahadevan 
[SMTP:mahadevan@fuse.net] wrote:
> >  Remember *NAMVAR? <g>  Same thing..
>
> I still dont fathom why IBM did not allow for a variable in *DTAARA, so
> we can dynamically name the data areas.
> Now if you say something like *DTAARA DEFINE XYZ , it assumes XYZ in the
> *LIBL.  What would have been nice is
> *DTARA DEFINE 'XYZ' for the above and *DTAARA DEFINE XYZ where XYZ is a
> variable containing a name.  This way you can make up a data area name
> and stick it in XYZ like    EVAL XYZ = 'MYAREA'  then *DTAARA DEFINE
> XYZ  or better EVAL XYZ = 'QGPL/MYAREA' then *DTAARA DEFINE XYZ
>
> Maybe they already did this in V3R7 !

This kind of feature was asked for intensely for the initial release, 
including for files. We wanted a FILE() keyword on the File spec to allow a 
variable name to be used at runtime--this feature is in VisualAge RPG, but 
I guess AS/400 can't handle it? <g>

The data area keyword should have also supported a variable name. This is 
not in any release or planned for the next one as far as I know.



Bob Cozzi
Bob@rpgdev.net
http://www.rpgdev.net


* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* This is the Midrange System Mailing List!  To submit a new message,   *
* send your mail to "MIDRANGE-L@midrange.com".  To unsubscribe from     *
* this list send email to MAJORDOMO@midrange.com and specify            *
* 'unsubscribe MIDRANGE-L' in the body of your message.  Questions      *
* should be directed to the list owner / operator: david@midrange.com   *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *


As an Amazon Associate we earn from qualifying purchases.

This thread ...


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.