Open / Close of files in server modules

Please log all suggestions for improvements and enhancements to Visual LANSA here. Entries may be acknowledged and may be added to the list for possible inclusion in later releases of Visual LANSA.
Post Reply
Joerg Hamacher
Posts: 53
Joined: Thu Feb 11, 2016 12:01 am

Open / Close of files in server modules

Post by Joerg Hamacher » Wed Feb 15, 2017 7:32 pm

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,

User avatar
Stewart Marshall
Posts: 417
Joined: Thu Nov 05, 2015 5:25 pm

Re: Open / Close of files in server modules

Post by Stewart Marshall » Thu Feb 16, 2017 9:28 am

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

Stewart Marshall

Independent IT Consultant

Post Reply