Open / Close of files in server modules

Please log all suggestions for improvements and enhancements to Visual LANSA here. All entries will be acknowledged and added to the list for possible inclusion in later releases of Visual LANSA.
Post Reply
Joerg Hamacher
Posts: 48
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

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

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

Regards
Stewart Marshall

Independent IT Consultant
www.marshallfloyd.com.au

Post Reply