DBD::Plibdata - a DBI driver for Jenzabar's Plibdata/cisaps access method for CX systems
use strict; use DBI; my $dbh = DBI->connect("dbi:Plibdata:host=$HOSTNAME;port=$PORT", $USERNAME, $PASSWORD, {PrintError => 0}); my $sql = "SELECT fullname FROM id_rec WHERE id = 1"; my ($name) = $dbh->selectrow_array($sql); $sql =<<EOT; SELECT txt FROM runace_aps WHERE ace = '/opt/carsi/install/arc/hr/acereport.arc' AND params = ''; EOT my ($acetxt) = $dbh->selectrow_array($sql);
Jenzabar's Plibdata provides access to many appservers including ACE reports via runace_aps. It also supports rudimentary SQL statements.
* host. Required. Hostname of Plibdata/cisaps server.
* port. Required. Service name in /etc/services or port number.
* plb_RowsPerPacket. Range: 1 - 255. Default: 40. This is the number of rows the server will return in one fetch. Although performance on multiple row queries can increase by setting this higher than the default, keep in mind that since the client caches every received row, memory usage will grow proportionally.
. SQL is not parsed except for bind variable markers (question marks). . Blank passwords . Aggregate functions . Calls to stored procedures . CREATE, DROP, SELECT INTO, etc. . SERIAL8, INT8, BYTE, BLOB/CLOB probably don't work
Stephen Olander-Waters < stephenw AT stedwards.edu >
Copyright (c) 2005-2007 by Stephen Olander-Waters, all rights reserved.
You may freely distribute and/or modify this module under the terms of either the GNU General Public License (GPL) or the Artistic License, as specified in the Perl README file.
No Jenzabar code or intellectual property was used or misappropriated in the making of this module.
DBI, DBD::Informix, DBI::DBD, IO::Socket::INET, Digest::MD5
To install DBD::Plibdata, copy and paste the appropriate command in to your terminal.
cpanm
cpanm DBD::Plibdata
CPAN shell
perl -MCPAN -e shell install DBD::Plibdata
For more information on module installation, please visit the detailed CPAN module installation guide.