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: Louis N Proyect <lnp3 at columbia dot edu>
Subject: Strange message
Date: Feb 16 1996 8:43PM

The following script, which logs in to 2 db's at once, produces correct 
results when the selects are done, but the following message appears at 
the command line when I run it: "The $dbproc parameter has not been 
properly initialized, it defaults to 0 at /." What does this mean?

Louis Proyect, Columbia University

#!/usr/local/bin/sybperl 

require "sybperl.pl";
require "sql.pl";

$dbproc = &dblogin("jks2", "xxx");
$dbproc = &dblogin("lnp3", "yyy", "SYBAIS@CUAIX06");

$rss_count = "select count(*) from sis..STUD_STUDENT";
&sql($dbproc1, "$rss_count");
print "rss count = @res[0]\n";

$dss_count = "select count(*) from dss..STUDENT_ALUMNUS";
&sql($dbproc1, "$dss_count");
print "dss count = @res[0]\n";