Hi, can you please tell me how the avRAMP_EndSession command works? Give us an example.
We have a problem, for each application in VLF an IBM session opens, it is possible to open several applications, but in a single IBM session, closing previous sessions and only leaving the last one
Thanks.
avRAMP_EndSession Command
Re: avRAMP_EndSession Command
As I understand it (my information may be out of date), its an Imbedded Interface Point (IIP).
The VLF controls the starting and ending of RAMP sessions, and whenever it ends a session, it also calls routine avRAMP_EndSession.
You can redefine this routine in your application's version of UF_OSYSTM (if you are using VLF-ONE RAMP TS). See the shipped Visual LANSA components UF_OSYSTM and DF_OSYSTM for examples of how to redefine routines.
I think the only reason you would do so would be to increase the information traced when the session is closed. I think the routine receives references to objects "Session" and "SessionInstanceManager", so your routine might be able to get extra information from the properties of those objects.
The VLF controls the starting and ending of RAMP sessions, and whenever it ends a session, it also calls routine avRAMP_EndSession.
You can redefine this routine in your application's version of UF_OSYSTM (if you are using VLF-ONE RAMP TS). See the shipped Visual LANSA components UF_OSYSTM and DF_OSYSTM for examples of how to redefine routines.
I think the only reason you would do so would be to increase the information traced when the session is closed. I think the routine receives references to objects "Session" and "SessionInstanceManager", so your routine might be able to get extra information from the properties of those objects.