Title: how to connect perl to mainframe?

Here is what you should do.

  1. Install PERL DBI ;-)
  2. Install DB2 Client on LINUX (Client and your MVS DB2  versions should be with in 2 levels).
  3. Catalog MVS db on the local LINUX (you need DB2 connect for this. And if your client is ver.7+, it has it already).
  4. Perl can access this remote db as any other db2 database.
  5. Watch out for certain SQL syntax restrictions between DB2 client and your Ver.6 MVS DB2.

Regards,

Ajith

 

 

-----Original Message-----
From: Johnson, Shaunn [mailto:[EMAIL PROTECTED]]
Sent: Friday, November 01, 2002 10:22 AM
To: [EMAIL PROTECTED]
Subject: [DB2EUG] how to connect perl to mainframe?

 

 

Howdy:

How do I access a DB/2 database from a perl script?
I have DB/2 version 6.1.1 on an MVS mainframe and I'm
trying to connect from a RedHat Linux box. I imagine that I
need the DBI modules and perhaps tools to install from
IBM.

What else do I need to connect to the mainframe database?
Someone wouldn't have happened to document / outlined
their methods, would they?

Thanks!

-X

Reply via email to