Page 1 of 1

Open / Close of files in server modules

Posted: Wed Feb 15, 2017 7:32 pm
by Joerg Hamacher
Hi,
we often notice that we get locks on IBMi files when using web server modules. Thus we started to add OPEN *ONDEMAND and CLOSE statements to the automatically generated source code - a task that is quite time-consuming due to the enormous number of files of our ERP system.
It would be very helpful if these commands could be embedded automatically when LANSA creates a server module.

Best regards,
Joerg

Re: Open / Close of files in server modules

Posted: Thu Feb 16, 2017 9:28 am
by Stewart Marshall
Hi Joerg

I would have expected each call to a server module to handle open and close automatically, so this may be a bug.

Please report it to your regional help desk

Regards