Hi Gianni,
I did a quick test in Uniface 6.1.du and it behaves in the same way as current Uniface versions. I guess you could say that this specific behavior has not changed in the last 25+ years.
I hope this helps.
------------------------------
Daniel Iseli
Principal Technical Support Engineer
Uniface Services
Rocket Software, Switzerland
------------------------------
Original Message:
Sent: 01-04-2023 07:03
From: Gianni Sandigliano
Subject: fileload/lfileload and locked files
Ciao Knut,
nice to hear from you... long long time no see each other... Thanks for your suggestion!
You have more or less same experience: what about question 2?
Am I starting to be too old or you remember something as well? :-)
Best Regards,
Gianni
------------------------------
Gianni Sandigliano
IT
Original Message:
Sent: 01-03-2023 15:02
From: Knut Dybendahl
Subject: fileload/lfileload and locked files
Hi Gianni - and Happy New Year to you too!
One quick thought - I believe you can 'copy' the open file - and then work with the copied file...
I do this on UF web app server log files - it works a charm.
Regards,
Knut
------------------------------
Knut Dybendahl
Original Message:
Sent: 01-02-2023 11:19
From: Gianni Sandigliano
Subject: fileload/lfileload and locked files
Hi Unifacers,
I've developed a functionality to fileload/lfileload and analyze Uniface C/S log files; unfortunately log files, related to Uniface sessions still opened, cannot be read with Uniface itself.
Question 1: is the lock applied from Uniface runtime "exclusive" type?
Question(s) 2: being an old Unifacer I remember when file_load (old version!) when trying to load file in read-write mode was getting an error, it was switching to readonly mode and reading it, exactly like any text editor would do (notepad++ as an example). I am almost sure this was the file_load standard behaviour until U7. If this behaviour is changed lately could I ask the specific reason for it? Could it be considered a regression bug?
Thanks in advance for any reply and happy 2023!
Regards,
Gianni
------------------------------
Gianni Sandigliano
IT
------------------------------