Skip to main content

By clicking Submit, you agree to the developerWorks terms of use.

The first time you sign into developerWorks, a profile is created for you. Select information in your developerWorks profile is displayed to the public, but you may edit the information at any time. Your first name, last name (unless you choose to hide them), and display name will accompany the content that you post.

All information submitted is secure.

  • Close [x]

The first time you sign in to developerWorks, a profile is created for you, so you need to choose a display name. Your display name accompanies the content you post on developerworks.

Please choose a display name between 3-31 characters. Your display name must be unique in the developerWorks community and should not be your email address for privacy reasons.

By clicking Submit, you agree to the developerWorks terms of use.

All information submitted is secure.

  • Close [x]

Using Perl with the Informix Dynamic Server

Develop powerful applications for IDS

Daniel Hebert, Software Engineer, IBM
Daniel Hebert has his B.S. and graduate level experience in Computer Science from Rensselaer Polytechnic Institute. He has spent two years as a teaching assistant for a computer science department Perl course. Dan is a Software Engineer for IBM, primarily working with Informix Dynamic Server (IDS).

Summary:  This tutorial takes you through the process of setting up the Perl Database Interface (DBI) to work with the IBM® Informix® Dynamic Server (IDS). See examples of how to exercise a variety of DBI features and learn how to configure CPAN module installation, driver installation, script automation, data structures, pitfalls, and Perl interaction with IDS.

Date:  01 Mar 2007
Level:  Intermediate PDF:  A4 and Letter (48 KB | 12 pages)Get Adobe® Reader®

Activity:  7406 views
Comments:  

Before you start

You must have IDS installed. This tutorial was designed using version 1.0, but later versions are expected to behave similarly.

About this tutorial

This tutorial walks you through the process of setting up the Perl DBI to work with IDS -- from start to finish -- and includes examples on how to exercise a variety of the DBI's features and learn about configuring CPAN module installation, driver installation, script automation, data structures, pitfalls, and Perl interaction with IDS. The tutorial assumes basic knowledge of Perl and builds on that. It also assumes you have IDS 10.00 running, but other versions can be expected to behave similarly. It is important to note that this tutorial is not intended to teach optimal Perl coding techniques, Perl 'style', or best Perl practices.


Objectives

The objective is to develop powerful applications for IDS quickly and easily using the capabilities of Perl and available tools.


Prerequisites

You must have a working knowledge of how to install and set up a simple database in IDS. Beginner programming skills are assumed. Prior Perl knowledge is helpful but not required. The code given in this tutorial shows you how to get set up.


System requirements

This tutorial uses Windows, but can be applied to any system that supports IDS and Perl (such as UNIX setups).

1 of 9 | Next

Comments



Help: Update or add to My dW interests

What's this?

This little timesaver lets you update your My developerWorks profile with just one click! The general subject of this content (AIX and UNIX, Information Management, Lotus, Rational, Tivoli, WebSphere, Java, Linux, Open source, SOA and Web services, Web development, or XML) will be added to the interests section of your profile, if it's not there already. You only need to be logged in to My developerWorks.

And what's the point of adding your interests to your profile? That's how you find other users with the same interests as yours, and see what they're reading and contributing to the community. Your interests also help us recommend relevant developerWorks content to you.

View your My developerWorks profile

Return from help

Help: Remove from My dW interests

What's this?

Removing this interest does not alter your profile, but rather removes this piece of content from a list of all content for which you've indicated interest. In a future enhancement to My developerWorks, you'll be able to see a record of that content.

View your My developerWorks profile

Return from help

static.content.url=http://www.ibm.com/developerworks/js/artrating/
SITE_ID=1
Zone=Information Management, Open source
ArticleID=199551
TutorialTitle=Using Perl with the Informix Dynamic Server
publish-date=03012007
author1-email=dhebert@us.ibm.com
author1-email-cc=

Tags

Help
Use the search field to find all types of content in My developerWorks with that tag.

Use the slider bar to see more or fewer tags.

Popular tags shows the top tags for this particular content zone (for example, Java technology, Linux, WebSphere).

My tags shows your tags for this particular content zone (for example, Java technology, Linux, WebSphere).

Use the search field to find all types of content in My developerWorks with that tag. Popular tags shows the top tags for this particular content zone (for example, Java technology, Linux, WebSphere). My tags shows your tags for this particular content zone (for example, Java technology, Linux, WebSphere).

Try IBM PureSystems. No charge.