Hi Bertram, first opening your log file with
call stream Windower_Logs'\'logfile_name,'C','OPEN READ SHARED'
might do what you want
On Wed, Sep 10, 2014 at 10:07 AM, Bertram Moshier <bertrammosh...@gmail.com>
wrote:
> Hello,
>
> I'm trying to read (only) a log file, as an application is creating it.
> The Windows type and copy commands successful access, which is what I'm
> trying to do with Rexx. At this point the code I'm using is:
>
> do fishing = 1 to 9999999999 while lines(Windower_Logs'\'logfile_name) > 0
> fishing.fishing = linein(Windower_Logs'\'logfile_name)
> parse var fishing.fishing 2 fishing_TOD.fishing +8 11
> fishing_text.fishing
> end
>
> Lines is returning 0, even though as type and copy show data does exist.
>
> How can I read the file on a read/only basis, even though another
> application (plugin for Windower, BTW) has the file open. (Windower is a
> program to help people play Final Fantasy XI.) (What I'm trying to do is
> provide my Son with real time information about his fishing. First in text
> format and later using ooDialog.)
>
> Thank you,
>
> Bert.
>
>
> ------------------------------------------------------------------------------
> Want excitement?
> Manually upgrade your production database.
> When you want reliability, choose Perforce
> Perforce version control. Predictably reliable.
>
> http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk
> _______________________________________________
> Oorexx-users mailing list
> Oorexx-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/oorexx-users
>
>
------------------------------------------------------------------------------
Want excitement?
Manually upgrade your production database.
When you want reliability, choose Perforce
Perforce version control. Predictably reliable.
http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk
_______________________________________________
Oorexx-users mailing list
Oorexx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-users