PEPPLER.ORG
Michael Peppler
Sybase Consulting
Menu
Home
Sybase on Linux
Install Guide for Sybase on Linux
General Sybase Resources
General Perl Resources
Freeware
Sybperl
Sybase::Simple
DBD::Sybase
BCP Tool
Bug Tracker
Mailing List Archive
Downloads Directory
FAQs
Sybase on Linux FAQ
Sybperl FAQ
Personal
Michael Peppler's resume

sybperl-l Archive

Up    Prev    Next    

From: Michael Peppler <mpeppler at peppler dot org>
Subject: Re: sysprocesses columns
Date: Sep 23 2003 3:17PM

On Tue, 2003-09-23 at 08:09, Sabherwal, Balvinder (MBS) wrote:
> Group,
> 
> Any ideas of how you can populate the info into the clientapplname,
> clienthostname, clientname columns in the sysprocesses table in master
> database from perl scripts using syb-perl?

Same as from any other client - this is done via "set clientapplname
" - i.e. as a SQL command. See the ASE command reference manual
for details.

Michael
-- 
Michael Peppler                              Data Migrations, Inc.
mpeppler@peppler.org                 http://www.mbay.net/~mpeppler
Sybase T-SQL/OpenClient/OpenServer/C/Perl developer available for short or 
long term contract positions - http://www.mbay.net/~mpeppler/resume.html