|
First off, you should have asked this in the RPG forum. So, I took the liberty of "moving" it there. <g> You need to define a data structure that has the same definitions as your record format. You can use: D D1DS e ds EXTNAME(filename:D1) You may also need to use the PREFIX keyword, if appropriate for your situation. You didn't say why you wanted to move the data in the record format to a data structure, but if you need a separate copy of the data, then you'd also have to create a second data structure the same way as D1DS, and you'd definately have to use the PREFIX keyword for that data structure. Dan Bale IT - AS/400 Handleman Company 248-362-4400 Ext. 4952 D.Bale@Handleman.com Quiquid latine dictum sit altum viditur. (Whatever is said in Latin seems profound.) -------------------------- Original Message -------------------------- I cannot seem to move a display file record into a similar data structure without having to move the fields individually. I've tried both a MOVE and an EVAL, such as EVAL D1DS = D1, where D1DS is the data structure and D1 is the display file record format. It will not allow a compile. Any ideas? Thanks, Bob Luebbe +--- | This is the RPG/400 Mailing List! | To submit a new message, send your mail to RPG400-L@midrange.com. | To subscribe to this list send email to RPG400-L-SUB@midrange.com. | To unsubscribe from this list send email to RPG400-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: david@midrange.com +---
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.