Thanks Phil,

> -----Original Message-----
> From: [EMAIL PROTECTED] On Behalf Of phil walker
> Sent: Friday, 12 May 2006 19:37
> To: u2-users@listserver.u2ug.org
> Subject: RE: Fw: [U2] UniData logging of BASIC Runtime errors 
> {Unclassified}
> 
> Mike,
> 
> You can do this, you just tweak the DOS verb to include an H in
> attribute 4 or 5..... 

Changed Attribute 4 from "TICERGM" to "TICERGMH"

And it _does_ work, even stays there when the UV transaction is rolled
back.

Now, I wonder if I can get the SysAdmins to make that change in
Production ...
;-)

Mike

> 
> Cheers
> 
> Phil
> 
> -----Original Message-----
> From: [EMAIL PROTECTED] On Behalf Of HENDERSON MIKE,
MR
> Sent: Friday, 12 May 2006 1:30 p.m.
> To: u2-users@listserver.u2ug.org
> Subject: RE: Fw: [U2] UniData logging of BASIC Runtime errors
> {Unclassified}
> 
> Thanks, Jim
> 
> That's brilliant ... Except it doesn't work in Transaction 
> State because you can't do a "DOS /c ...", you get a 'Verb "DOS"
illegal 
> when a transaction is active' error.  Darn, it would have been really 
> useful otherwise.
> That's why we need a UV-supported method.
> 
> But actually, if you're on UV 10.1 you can use the new GCI function
> "UVRunCommand" [see Issue Number 5616 in the Release Notes] even in
> transaction State.
> Gee, another reason to upgrade! :-) 
> 
> 
> Mike
> 
> > -----Original Message-----
> > From: [EMAIL PROTECTED] On Behalf Of James Canale,
Jr.
> > Sent: Friday, 12 May 2006 05:28
> > To: u2-users@listserver.u2ug.org
> > Subject: RE: Fw: [U2] UniData logging of BASIC Runtime errors
> > {Unclassified}
> > 
> > Well, for Windows platforms, you can do something like this 
> > (this is from ECL, but with a tiny bit of code...):
> > 
> > :! eventcreate /t information /id 999 /l System /so MyModule  /d
> >  "Error Test"
> > 
> > /t = ERROR | WARNING | INFORMATION
> > /id = Event ID
> > /l (lowercase L) = APPLICATION OR SYSTEM /so = SourceName 
> > (any text, but most likely it's the offending program name) 
> > /d = Description
> > 
> > There are many other options (you can even specify a different 
> > computer to send the event information to).
> > 
> > Regards,
> > 
> > Jim
> > 
The information contained in this Internet Email message is intended
for the addressee only and may contain privileged information, but not
necessarily the official views or opinions of the New Zealand Defence Force.
If you are not the intended recipient you must not use, disclose, copy or 
distribute this message or the information in it.

If you have received this message in error, please Email or telephone
the sender immediately.
-------
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/

Reply via email to