Not sure if anyone else has come across this but I just found out that
under certain circumstances, calling system(9001) will hang a process.
As it's almost time for the Feast of Saturnalia I thought I'd share.
I have a file that has a file trigger - this is just an audit stamp of
when, who and a system(9001) stack-trace that writes into an audit file.
This works fine for most circumstances except when it is updated from
(in our case) UniObjects. This is all complicated as the UO process runs
in an update transaction, which calls a trigger that also runs in an
update transaction so tracking it down was Fun.
I had to amend the audit trigger program to make it run without hanging
by adding the following exception...
*// EXCEPT uvcs - hangs transaction as at UV 10.0.7
if @tty # 'uvcs' then auditRec := @am:lower(system(9001))
I haven't had time to try this for any other circumstances or versions
of UV but hope it helps someone.
Merry King Cole to one and every.
Stuart
**********************************************************************
This email message and any files transmitted with it are confidential and
intended solely for the use of addressed recipient(s). If you have received
this communication in error, please reply to this e-mail to notify the sender
of its incorrect delivery and then delete it and your reply. It is your
responsibility to check this email and any attachments for viruses and defects
before opening or sending them on. Spotless collects information about you to
provide and market our services. For information about use, disclosure and
access, see our privacy policy at http://www.spotless.com.au
Please consider our environment before printing this email.
**********************************************************************
-------
u2-users mailing list
[email protected]
To unsubscribe please visit http://listserver.u2ug.org/