|
|
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
|