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: Specification of Packet Size
Date: Jun 26 1998 3:59PM

Curtis Johnson writes:
 > Hi All,
 > Is there a way to specify the sybase network packet size
 > before connecting with either CTlib or DBlib versions of
 > sybperl?

DBSETLPACKET() for DBlib.

For CTlib, you'd do:

$dbh = new Sybase::CTlib user, pwd, server, appname, {CON_PROPS =>
{CS_PACKETSIZE => 1024}};

This requires a fairly recent version of sybperl.

Michael
-- 
Michael Peppler         -||-  Data Migrations Inc.
mpeppler@datamig.com    -||-  http://www.mbay.net/~mpeppler
Int. Sybase User Group  -||-  http://www.isug.com