|
Mark, The reason for this error is generally because "the window REALLY doesn't exist". Generally shows up when you have the window itself defined as a separate record format, with keyword WINDOW(window-record) defined in the window display-file record. What you have to do is write the window record immediately before exfmt-ing record to be in the window. I get this error when I get try to get super-efficient and put the write window-definition outside the DOW loop. This will fix it. DOW Not EndOfLoop Write window-definition Exfmt window-display-stuff. ............................ You could also put the WINDOW(## ## ## ##) directly on the record, instead of WINDOW(record-name). The other stuff which has been recommended are good also, like a record with ASSUME in the display file, etc. hth AS/Resources, Inc. William A.(Tony) Corbett IBM Certified Specialist - AS/400 Developer http://www.asresources.com corbett@asresources.com 404-784-4737
As an Amazon Associate we earn from qualifying purchases.
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.