orac_Informix.pm - the Informix module to the Orac tool
This code is a database object that can be created by the Orac tool. It inherits from orac_Base, which has all the basic data and methods. Some of those are called from here, some are overridden, most are inherited and used as is.
&new() &init1() &init2()
This method overrides orac_Base's; well, actually we call it to set ourselves up, but then we do set Informix specific variables. We return the new object instance, just like we're supose to do.
This methode overrides the "do nothing" version in orac_Base. It's job is to do whatever we need to do just before trying to connect. We return nothing.
This methode overrides the "do nothing" version in orac_Base. It's job is to do whatever we need to do just after successfully connecting to the database. In our case, we always ChopBlanks. We return nothing.
These should only be called by main:: functions, like the menu functions, or by ourselves, obviously. :-)
Show the list of the databases, and info about them. No args, no return value.
Show the list of DBSpaces, and info about them. No args, no return value.
Show the list of DB chunks, and info about them. No args, no return value.
Show the current $ONCONFIG file. No args, no return value.
Show the synonums for all tables. No args, no return value.
Show the grants on this database. No args, no return value.
Show the list of the indicies for all tables, and info about them. No args, no return value.
NOT IMPLEMENTED YET!
Show the schema for the databases. No args, no return value.
Show the application threads running in the database. No args, no return value.
Show the current SQL statements running in the database. No args, no return value.
Show the list of blob fields, and info about them. No args, no return value.
Show the I/O going on in the database. No args, no return value.
Show the list of locks being held, and info about them, by: database, owner, table. It calls live_update() until the user hits STOP. No args, no return value.
Show what's going on in the table space arena. It calls live_update() until the user hits STOP. No args, no return value.
Show who's connected? It calls live_update() until the user hits STOP. No args, no return value.
These should only be called ourself, they are support functions. There are currently none, or at least none that care to tell anyone about. :-)
This subroutine is called with the results from show_sql() (or live_update) to allow DB modules to "post process" the output, if required, before it is analyzed to be shown. This is useful for turning numeric flags into words, and other such DB dependent things.
These functions are ones that I'm developing and should not be called by anyone else, unless you like living dangerously. :-) It is hoped that one day, they'll be good enough to move into orac_Base.
None for now...they've been moved!
# Andy, you can move this if you want. (i.e. feel brave :-)
To install orac_Font, copy and paste the appropriate command in to your terminal.
cpanm
cpanm orac_Font
CPAN shell
perl -MCPAN -e shell install orac_Font
For more information on module installation, please visit the detailed CPAN module installation guide.