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.

stopping the database from a batch file

2 posts in General Discussion Last posting was on 2005-08-01 19:59:42.0Z
ed Posted on 2005-08-01 18:35:30.0Z
Sender: 2f3.42ee6a6a.1804289383@sybase.com
From: ed
Newsgroups: ianywhere.public.general
Subject: stopping the database from a batch file
X-Mailer: WebNews to Mail Gateway v1.1t
Message-ID: <42ee6b72.304.1681692777@sybase.com>
NNTP-Posting-Host: 10.22.241.41
X-Original-NNTP-Posting-Host: 10.22.241.41
Date: 1 Aug 2005 11:35:30 -0700
X-Trace: forums-1-dub 1122921330 10.22.241.41 (1 Aug 2005 11:35:30 -0700)
X-Original-Trace: 1 Aug 2005 11:35:30 -0700, 10.22.241.41
Lines: 9
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub ianywhere.public.general:4661
Article PK: 8465

hi,

i would like to create a batch file that i can put on the
desktop that when i double click, it will stop the database
immediately. but, only one specified database.

does anyone know what the exact string looks like?

ed


Stephen Rice Posted on 2005-08-01 19:59:42.0Z
From: Stephen Rice <NSsrice@ianywhere.com>
Reply-To: NSsrice@ianywhere.com
Organization: iAnywhere Solutions
User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317)
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: ianywhere.public.general
Subject: Re: stopping the database from a batch file
References: <42ee6b72.304.1681692777@sybase.com>
In-Reply-To: <42ee6b72.304.1681692777@sybase.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: srice-laptop.sybase.com
X-Original-NNTP-Posting-Host: srice-laptop.sybase.com
Message-ID: <42ee7f2e$1@forums-1-dub>
Date: 1 Aug 2005 12:59:42 -0700
X-Trace: forums-1-dub 1122926382 10.25.98.210 (1 Aug 2005 12:59:42 -0700)
X-Original-Trace: 1 Aug 2005 12:59:42 -0700, srice-laptop.sybase.com
Lines: 24
X-Authenticated-User: techsupp
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub ianywhere.public.general:4662
Article PK: 8468


ed wrote:
> hi,
>
> i would like to create a batch file that i can put on the
> desktop that when i double click, it will stop the database
> immediately. but, only one specified database.
>
> does anyone know what the exact string looks like?
>
> ed

dbstop -d -y -c "<your connection parameters here>

should do the job

/steve
--
Stephen Rice
Technical Services Manager
iAnywhere Solutions

--- Please Post ---
Whitepapers, Tech Docs, Solved Cases, Bug Fixes and
"Report a bug" are all available on www.ianywhere.com