Re: Using DBD::Sybase / DBI to talk to replication server
Michael Peppler <[email protected]>
| Newsgroups | gmane.comp.lang.perl.modules.dbi.sybase |
|---|---|
| Message-ID | <[email protected]> |
On Sun, 2006-02-12 at 16:08 +0100, Simon J Mudd wrote: > Hello All, > > I am writing a script to manage a repserver and want to use DBI/DBD::Sybase to talk to > the rep server. > > The normal DBI SQL stuff works fine with ASE servers and I can also get > back print statements from them. However when I try to do the same thing > using the syb_err_handler I don't seem to be able to capture the output > produced by the repserver. The output from rep server commands (such as "admin who") is returned as result sets, so a normal prepare()/execute()/fetch() loop works fine. 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