|
You can do a write with the reference window record immediately before the exfmt...or it won't exist....sometimes. My favorite answer "It depends...". But, doing a write immediately before the ExFmt will get you through this one. I've done a bunch of subfile programs which do the write reference window outside the DO loop, and a bunch which insist on having the write immediately before the ExFmt. I usually don't have the time to really figure it out, just be efficient when I can, and make it work the rest of the time. I've even had a few that finally whipped me and I put the window definition back in the CTL record...?? AS/Resources, Inc. William A.(Tony) Corbett IBM Certified Specialist - AS/400 Developer http://www.asresources.com corbett@asresources.com +--- | 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.