|
> From: Reeve Fritchman > > I think a subfile is an extension of workstation support. But there's no > reason that you can't build a subfile in a batch program as long as you > don't display a format (i.e. workstation device). You should be able to > load/clear, load, and READC (I think) a subfile in batch...but why now use > an array with a data structure? Seems like it would be less overhead... I think this is true only in very specific cricumstances, Reeve. While I haven't specifically tried it, I don't think you can write to the subfile unless the display file is open. And I do know that you cannot open a "normal" display file in batch. However, there is one possibility. You may be able to open the display file if you create it with DEV(*NONE). However, once you've gone so far as to create a display file just for the purposes of storing and sorting temporary data, you're right: you should probably use an array, or even a temporary file. Joe
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.