I downloaded the demo version SQL Anywhere 6 for NT. My installation does
not seem to have DSEdit. Is it available online somewhere? (I ordered the
full version, but it will not arrive for a few days.)
_______________________________________________________
Nick Schneir
Senior Software Engineer
Cbyon, Inc.
2275 E. Bayshore Rd, Suite 101
Palo Alto, CA 94303
650-842-1810
work: ni...@cbyon.com
personal: ni...@well.com
Jason Hinsperger
Product Quality
Adaptive Server Anywhere
Nick Schneir wrote:
> I don't seem to have a copy of SQLEdit.exe either. Why do the SQL Anywhere
> Studio docs go into great detail about using DSEdit to set it up as an Open
> Server, if it is not even intended to be used with it?
>
> David Fishburn <spamoff_...@sybase.com> wrote in message
> news:Ezrwyfum#GA....@forums.sybase.com...
> > DSEdit is required for Adaptive Server Enterprise and Open Client. It's
> > predecessor is called sqledit.exe
DSEdit does not come with SQL Anywhere (at least with the 6.02 CD).
Peter
--
David Fishburn
Sybase
Please only post to the newsgroup
Peter Alan Burton wrote in message <3736B9A4...@sqribe.com>...
David Fishburn <spamoff_...@sybase.com> wrote in message
news:Ezrwyfum#GA....@forums.sybase.com...
I want to use events so that my Java app (running on the same machine as the
database) will know when the database is updated. I am using SQL Anywhere
and JConnect 5.0.
The manual that came with SQL Anywhere Studio 6 says:
>Adaptive Server Anywhere can appear to client applications as an Open
Server. This provides native
>support for the Sybase Open Client programming interface, and therefore
native support for Sybase
>applications such as Replication Server and OmniConnect. This chapter
describes how to use Adaptive
>Server Anywhere as an Open Server, and how to configure Open Client and
Adaptive Server Anywhere to
>work together.
My understanding is that JConnect uses TDS directly and does not require
Open Client (just an Open Server). What am I missing? Is there another way
to achieve my goal?
BTW, Thanks for the quick responses!
- Nick Schneir
--
---------------------------------------
Rob Waywell
Sybase
Please Respond to Newsgroups
Nick Schneir wrote in message ...
Thanks for the explanation.
When I try to set up an EventHandler, I get an exception that says that the
sp_regwatch procedure is not found. From reading the docs I figured that I
need to configure it with DSEdit. Do you have any idea what I might be doing
wrong?
--
---------------------------------------
Rob Waywell
Sybase
Please Respond to Newsgroups
Nick Schneir wrote in message <0au3zQ$m#GA....@forums.sybase.com>...
I am not finding sp_regwatch in the documentation -- that is the problem.
When I run the Java/JConnect example program EventHandler, I get an
exception. I can do a query in Java, but can't subscribe to an event. (That
is what started all of this; I was trying to figure out if I had everything
configured correctly.)
I run it like this:
D:\PROGRA~1\Sybase\jConnect>java sample.SybSample EventHandle -U DBA -P
SQL -S jdbc:sybase:Tds:localhost:2638
And get this exception:
ASA Error -265: procedure 'sp_regwatch' not found
com.sybase.jdbc.SybSQLException: ASA Error -265: procedure 'sp_regwatch' not
found
at com.sybase.tds.Tds.processEed(Compiled Code)
at com.sybase.tds.Tds.nextResult(Compiled Code)
at com.sybase.jdbc.ResultGetter.nextResult(ResultGetter.java)
at com.sybase.jdbc.SybStatement.nextResult(Compiled Code)
at com.sybase.jdbc.SybStatement.updateLoop(Compiled Code)
at
com.sybase.jdbc.SybCallableStatement.executeUpdate(SybCallableStatement.java
)
at com.sybase.tds.TdsEventContext.addHandler(TdsEventContext.java)
at com.sybase.tds.Tds.makeEventContext(Tds.java)
at com.sybase.jdbc.SybConnection.regWatch(SybConnection.java)
at sample.EventHandler.sampleCode(EventHandler.java)
at sample.EventHandler.run(EventHandler.java)
Rob Waywell <rway...@sybase.com> wrote in message
news:WJJjZ2Hn#GA....@forums.sybase.com...
Is there some install script you didn't run that creates the desired stored
procedure for you?
Peter
Peter Alan Burton <peter....@sqribe.com> wrote in message
news:3739B827...@sqribe.com...