1. yakov werde
  2. PowerBuilder
  3. Thursday, 17 May 2018 13:36 PM

Hello All,

Regarding .SaveAs :: The datawindow engine handles opening, writing and closing the file.  I have yet to find any documentation about fileaccess & filemode


I would “guess” fileaccess is Write-only and filemode is lock-write.  But I’m not sure.

Anyone have a clear answer

Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Thursday, 17 May 2018 14:07 PM
  2. PowerBuilder
  3. # 1

Hi Yakov;

   My guess would be file:  Write, Lock, Exclusive.

Is there an issue from your perspective for your Apps?

Regards ... Chris

Thanks Chris

Multi-User /Multi-Process file contention is an  issue.  That's why I'm looking for a definitive answer before conducting an experiment or implementing a unique file naming scheme.  Unlike the saying "My guess is as good as yours

  1. yakov werde
  2. Thursday, 17 May 2018 14:16 PM
Yes, when I do these type of things in my web service framework, I use the IIS session number appended to the file name to get a unique system name so that no contention issues arise.

I'll check with Engineering for you though on this aspect.

  1. Chris Pollach @Appeon
  2. Thursday, 17 May 2018 14:49 PM
Thank you Sir!

  1. yakov werde
  2. Thursday, 17 May 2018 15:09 PM
There are no comments made yet.
  • Page :
  • 1

There are no replies made for this question yet.
However, you are not allowed to reply to this question.