Sybase NNTP forums - End Of Life (EOL)

The NNTP forums from Sybase - forums.sybase.com - are now closed.

All new questions should be directed to the appropriate forum at the SAP Community Network (SCN).

Individual products have links to the respective forums on SCN, or you can go to SCN and search for your product in the search box (upper right corner) to find your specific developer center.

Traceflag

2 posts in General Discussion Last posting was on 2011-04-10 10:25:42.0Z
Support Posted on 2011-04-09 13:35:19.0Z
Sender: 139d.4d9f6aac.1804289383@sybase.com
From: Support
Newsgroups: sybase.public.ase.general
Subject: Traceflag
X-Mailer: WebNews to Mail Gateway v1.1t
Message-ID: <4da06097.284e.1681692777@sybase.com>
NNTP-Posting-Host: 10.22.241.41
X-Original-NNTP-Posting-Host: 10.22.241.41
Date: 9 Apr 2011 06:35:19 -0700
X-Trace: forums-1-dub 1302356119 10.22.241.41 (9 Apr 2011 06:35:19 -0700)
X-Original-Trace: 9 Apr 2011 06:35:19 -0700, 10.22.241.41
Lines: 2
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.ase.general:30100
Article PK: 79333

Is there a ASE 12.5.4 /15 traceflag that can redirect
stacktrace away from errorlog to the application log?


Rob V [ Sybase ] Posted on 2011-04-10 10:25:42.0Z
From: "Rob V [ Sybase ]" <robv@DO.NOT.SPAM.sypron.nl.REMOVE.THIS.DECOY>
Reply-To: robv@DO.NOT.SPAM.sypron.nl.REMOVE.THIS.DECOY
Organization: Sypron BV / TeamSybase / Sybase
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.15) Gecko/20110303 Lightning/1.0b2 Thunderbird/3.1.9
MIME-Version: 1.0
Newsgroups: sybase.public.ase.general
Subject: Re: Traceflag
References: <4da06097.284e.1681692777@sybase.com>
In-Reply-To: <4da06097.284e.1681692777@sybase.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: vip152.sybase.com
X-Original-NNTP-Posting-Host: vip152.sybase.com
Message-ID: <4da185a6$1@forums-1-dub>
Date: 10 Apr 2011 03:25:42 -0700
X-Trace: forums-1-dub 1302431142 10.22.241.152 (10 Apr 2011 03:25:42 -0700)
X-Original-Trace: 10 Apr 2011 03:25:42 -0700, vip152.sybase.com
Lines: 27
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.ase.general:30101
Article PK: 79334


On 09-Apr-2011 15:35, Support wrote:
> Is there a ASE 12.5.4 /15 traceflag that can redirect
> stacktrace away from errorlog to the application log?

No, the stacktrace info always goes to the ASE errorlog when the stack
trace is caused by an error.
Only when you run 'dbcc stacktrace(spid)' manually will the output go to
the client (if you have 3604 enabled).

HTH,

Rob V.
-----------------------------------------------------------------
Rob Verschoor

Certified Sybase Professional DBA for ASE 15.0/12.5/12.0/11.5/11.0
and Replication Server 15.0.1/12.5 // TeamSybase

Author of Sybase books (order online at www.sypron.nl/shop):
"Tips, Tricks& Recipes for Sybase ASE" (ASE 15 edition)
"The Complete Sybase ASE Quick Reference Guide"
"The Complete Sybase Replication Server Quick Reference Guide"

rob@NO.SPAM.sypron.nl | www.sypron.nl | Twitter: @rob_verschoor
Sypron B.V., The Netherlands | Chamber of Commerce 27138666
-----------------------------------------------------------------