---------- Forwarded message ----------
From: Matthew Persico <[EMAIL PROTECTED]>
Date: Nov 20, 2006 12:45 PM
Subject: Re: Can't connect to Sybase Rep server
To: Michael Peppler <[EMAIL PROTECTED]>


Well, it's been more than a week. :-) No, I have not been on jury duty
THAT long, but now this is a production problem...

Well not really, I was able to fall back to using DBD::Sybase 1.00.

On DBD::Sybase 1.07 and your test 1.07_02 (from March 6), I get an
error connecting to a rep server.

Here is a test piece of code:
use DBD::Sybase;
$ldbh = DBI->connect("dbi:Sybase:"
                    . "server=REPP"
                    . ";hostname=" . 'nycux-25k102'
                    ,'REPP_maint'
                    ,'*******'
                    ,{RaiseError=>1});
print $ldbh->errstr();
my $dummy = 6;

and results:

Server message number=17001 severity=10 state=0 line=0 server=REPP
text=No SRV_OPTION handler installed.OpenClient message: LAYER = (1)
ORIGIN = (1) SEVERITY = (1) NUMBER = (183)
Server REPP, database
Message String: ct_options(): user api layer: external error: An error
was returned from the server while setting the options, check the
server message for details.
Server message number=2056 severity=12 state=0 line=0 server=REPP
text=Line 1, character 8: Incorrect syntax with 'select'.

Any suggestions?


On 3/6/06, Matthew Persico <[EMAIL PROTECTED]> wrote:
I'm on jury duty. It may take a week to get back to you.

On 3/6/06, Michael Peppler <[EMAIL PROTECTED]> wrote:
> On Thu, 2006-03-02 at 13:53 -0500, Matthew Persico wrote:
> > See the four attachments. RS is rep server version, the others should
> > be self explanitory. I included the .pl I used just for kicks.
> >
> > Thanks
>
> Hi Matthew,
>
> Could you try the attached and see if it improves things for you?
>
> Thanks,
>
> Michael
> --
> Michael Peppler  -  [EMAIL PROTECTED]  -  http://www.peppler.org/
> Sybase DBA/Developer - TeamSybase: http://www.teamsybase.com/
> Sybase on Linux FAQ: http://www.peppler.org/FAQ/linux.html
>
>
>
>


--
Matthew O. Persico



--
Matthew O. Persico


--
Matthew O. Persico

Reply via email to