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 MBAY dot NET>
Subject: Re: Help with script
Date: Feb 10 1998 1:56AM

Ashish Pant wrote:
> 
> Hi all,
> 
> I have recently upgraded from 4.9.2 to System 11.
> 
> I had some Sybperl scripts where I was reloading databases.  These
> scripts are no longer working.  System11 uses backupserver.  The code
> reads
> 
> $query = "load database $DATABASE from '/dump03/data'";
> &SybaseExecute( $dbproc, $query );

What does SybaseExecute() do?

Do you have an ad-hoc error/message handler?

The backupserver sends progress messages back to the client's
message handler, and if those are interpreted as errors then
that could cause your script to fail.

Michael
-- 
Michael Peppler       -||-  Data Migrations Inc.
mpeppler@datamig.com  -||-  http://www.mbay.net/~mpeppler