• Subject: Re: Move an entire record format as a whole
  • From: John Carr <74711.77@xxxxxxxxxxxxxx>
  • Date: Thu, 8 Jul 1999 17:36:35 -0400





>
>> Sorry, that only works for program-described files.

>> Do you think it would be useful for RPG to allow READ into
>> or WRITE from data structures for externally-described
>> files?
>>Cheers!  Hans

Hans

Yes, 
The benefit would come from not having to move stuff into the "real" field
names on a WRITE 
statement(either field by field or D/S to D/S).    

You could just have fields (either renamed or Prefixed) in a D/S and do a
WRITE thru result 
field D/S  with out having to move the fields into the "real" field names
first.

Similar benefit may come by using the same rational on Read
statements(chains, etc)

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


This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2019 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].