|
Dave, I just looked at a working program that uses RTNDTA so that a sub-program can process text that is displayed in many display files. In this case there are about 10 display files that all have a text subfile that is the same in all ten display files. Processing of this text is done by a single sub-program. RTNDTA is specified on the text formats and the 10 individual differing formats. The display files are created as share(*yes). The processing is exactly as you have described except I used WRITE A in program X, EXFMT B in program Y, and a READ in program X. The only significant difference I can see is that you used an EXFMT where I used a WRITE. David Morris >>> Dave Mahadevan <mahadevan@fuse.net> 10/27 4:59 PM >>> Folks: Assume two record format A and B with RTNDTA. EXFMT A and then EXFMT B. Now after this can you do READ A. This thing gives me a session error. I know after EXFMT A, you can READ umpteen times with RTNDTA. Remember I am not trying to READ B, but trying to READ A. I suspect the buffer is cleared before displaying B. That reminds, how do I get a copy of the display buffer? In the old debug you can do DSPPGMVAR ZZ01BIN and it will show the first files buffer. With ILE Debug I wonder how you do this? -- Thank You. Regards Dave Mahadevan.. mailto:mahadevan@fuse.net +--- | This is the Midrange System Mailing List! | To submit a new message, send your mail to MIDRANGE-L@midrange.com. | To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com. | To unsubscribe from this list send email to MIDRANGE-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-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.