INFORMIXDIR is an environment variable that needs to be set for informix to find some parts of itself.

You are on Windows it appears. Look at this link for "how to" set a durable ENV variable: http://support.microsoft.com/kb/310519

You will have to consult your DB documentation for tips on what needs to be in INFORMIXDIR, but once you figure that out the above link should help you set it. Update: I would start by setting INFORMIXDIR to the FULL PATH of the directory in which you have installed your informix product.

On Windows to see what is in current ENVIRONMENT, type: env at the command prompt. You will be added something new to this list. Once done like above, it will persist between reboots, etc.

it is possible to set an env variable like : set x=2, but will not persist between reboots nor will it apply to other shell sessions. Hey got ahead and open a command window and try that just so that you are clear about what you are doing, set x=2, then env to see that x=2 is there for only this shell instance.

Anyway, just go ahead and set this env variable for all shells (see above MS link) and hopefully it will become a distant memory of something that you had to do last year...


In reply to Re: Perl DBI Informix by Marshall
in thread Perl DBI Informix by Sun751

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.