|
Only if the file is marked as shared or you have a OVRDBF SHARE(*YES) in effect.
Remember, that your program will open the file and then when you call the
service program, it will have to open the file again, giving you two Open File
Identifiers. If the file is not a shared file, there will be two pointers that
track where the next read operate.
Marvin
----------------------------------------------------------------------
message: 1
date: Fri, 18 Aug 2006 12:17:56 -0400
from: "Andy Hautamaki" <ahautamaki@xxxxxxxxxxxxxxx>
subject: Accessing different records using the same logical file in a
module and a service module within the same activation group
If you are doing a setll and reade on a logical file in the first module and
then use a service module in the same activation group that uses the same
logical and retrieve a record from the file will this reposition the reade
from your first module?
Thanks
Andy
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.