DBD::MVS_FTPSQL is a DBI driver to query IBM DB2 mainframe databases through an IBM FTP server.
SYNOPSIS
require DBI;
#DSN String that identifies the DB2 subsystem
my $DSN = "hostname=...;ssid=..." ;
#A mainframe account able to perform SELECTs
my ($username, $password) = ('...','...');
my $dbh = DBI->connect("dbi:MVS_FTPSQL:$DSN", $username, $password)
or die "Cannot connect: " . $DBI::errstr;
It connects to the DB2 subsystem $ssid of the mainframe whose hostname is $hostname. Refer to the DSN string section of this document for details on matching the configuration of the mainframe you want to connect to (in particular the attributes hostname, port and ssid). It could be a good idea to take also a look at the EXAMPLES section below.
Product's homepage
Requirements:
· Perl