Page 1 of 1

Execute a CL program when the closing event of the browser or browser tab occurs by that of the tab (X)

Posted: Sat Aug 11, 2018 8:17 am
by Jose Manuel
Hello everyone,
In our case when entering the application this generates members in PF files
When leaving orderly these members are erased.
In the case of the closure of the browser by the user (common cause) these deletions do not occur as there is an abnormal work termination
Has anyone any idea how to run a CL program when it occurs
the closing event of the browser or tab through the (X) ??

Thanks to all

Re: Execute a CL program when the closing event of the browser or browser tab occurs by that of the tab (X)

Posted: Mon Aug 13, 2018 1:29 pm
by SeanTyree
How about using an exit program?
It looks like QIBM_QWT_JOBNOTIFY could work for you.

Sean

Re: Execute a CL program when the closing event of the browser or browser tab occurs by that of the tab (X)

Posted: Tue Aug 14, 2018 10:51 am
by Jose Manuel
Hello Sean, Thank you very much for your guidance
Let's see if that resolves what we want.

Thanks again