If you type

HELP COMO

at TCL, it'll tell you ...

Or I'll tell you :-) From within your program (or wherever) do an

EXECUTE "COMO ON PROGOUTPUT HUSH"

This will create a PROGOUTPUT record in the &COMO& file that you can
then access with the editor or whatever you want.

To turn off the como, just do

EXECUTE "COMO OFF"

Cheers,
Wol 

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Amit Bhutani
Sent: 17 February 2004 13:07
To: U2 Users Discussion List
Subject: COMO: Help on How to use COMO?


I want to log all errors in a record of &COMO& without displaying them
on screen?
How should I intiallize como and how can I pass this error message to
that record,
E.g.

                WRITEU D.FILE TO F.FILE,K.ID
                    LOCKED PRINT "ERROR:":K.ID:" record locked by user
":STATUS():", please stand-by"
                    ELSE PRINT "ERROR:Failed to write in ":FILE:" with
ID=":K.ID

I want to store this error message in a record of &COMO& file

regards
Amit Bhutani

-- 
u2-users mailing list
[EMAIL PROTECTED]
http://www.oliver.com/mailman/listinfo/u2-users




***********************************************************************************

This transmission is intended for the named recipient only. It may contain private and 
confidential information. If this has come to you in error you must not act on 
anything disclosed in it, nor must you copy it, modify it, disseminate it in any way, 
or show it to anyone. Please e-mail the sender to inform us of the transmission error 
or telephone ECA International immediately and delete the e-mail from your information 
system.

Telephone numbers for ECA International offices are: Sydney +61 (0)2 9911 7799, Hong 
Kong + 852 2121 2388, London +44 (0)20 7351 5000 and New York +1 212 582 2333.

***********************************************************************************

--
u2-users mailing list
[EMAIL PROTECTED]
http://www.oliver.com/mailman/listinfo/u2-users

Reply via email to