|
Ah, the memories are coming back. And like I said pointless. I ended up going with Diane's suggestion of using a physical file with fields named like the ones in the subfile. But I am wondering is this a good candidate for what is being discussed in another thread. Can this program define a data structure similar to the subfile and define a pointer, then use the ALLOC and REALLOC opcodes? That would be faster than using the physical file, but still dynamic, right? Of course, I don't remember the original posting or how the data in the subfile was being used. Patrick Conner www.ConnecTown.com (828) 244-0822 Anton Gombkötö <gombkoetoe@ASSOF To: RPG400-L@midrange.com T.COM> cc: Sent by: Subject: Re: Subfiles in batch job owner-rpg400-l@mi drange.com 12/18/00 03:03 PM Please respond to RPG400-L The answer is YES and NO. A batch job can't have screen I/O himself. You CAN do a OVRDSPF DEV(somedevice) where "somedevice" has to be a display with sign-on screen which can be occupied. Whenever the job runs it must have access to this device (so nobody may use it then). This is more than ugly and a 100% candidate for a murphy attack and should never ever reach a "production" state. Anton Gombkötö +--- | 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-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.