DB2-Admin
view release on metacpan or search on metacpan
README.html view on Meta::CPAN
<P>
<PRE> create_test_db
make test
</PRE>
<P>
You can run the tests against any other database you want, but please make
sure you update the CONFIG file before running the test script.
<P>
Once the test completes, you can install the module with:
<P>
<PRE> make install
</PRE>
<P>
<P>
<HR>
<H1><A NAME="INSTALLATION_WINDOWS">INSTALLATION - WINDOWS
</A></H1>
Mike O'Reilly conttibuted the following notes to build the DB2::Admin
module on Windows.
<P>
The ActiveState Perl 5.8.8 for x64 is available for download built with
Microsoft Visual C v6 with the freely available compiler in the ``Microsoft
Windows 2003 Server SP1 Platform SDK''. It is necessary to use the same
compiler to build any Perl modules that use the C language. For VS2005 and
VS3008 modules do not bind against MSVCRT.DLL (but instead use MSVCR90.DLL
or MSVCR71.DLL etc).
<P>
The filename (on FTP search) that contains the correct compiler is
``5.2.3790.2075.51.PlatformSDK_Svr2003R2_rtm.img'' (aka PSDK). It may not
be available on Microsoft websites, but is available elsewhere. It is not
possible to build modules with Visual-Studio-2005 or Visual-Studio-2008 and
get them to work with the pre-built ActiveState Per 5.8.x (unless you also
rebuild perl itself from sources with the same toolkit, something I did not
attempt).
<P>
When DB2 is up and running (install as 'Administrator', then add target
users to the DB2ADMNS or DB2USERS groups as appropriate), it is necessary
to open a DB2CMD window , execute the PSDK ``setenv /XP64 /X64 /RETAIL'' in
that window, and perform the build in that window. Then I ran the following
sequence of steps.
<P>
<PRE> set DB2_VERSION=V9.5
perl parse_constants.pl
build/test/install Pod::Simple
build/test/install Pod::Escapes
build/test/install Test::Pod
modify CONFIG appropriately
perl create_test_db
perl makefile.pl
nmake
nmake test
</PRE>
<P>
<P>
<HR>
<H1><A NAME="RELEASE_NOTES">RELEASE NOTES
</A></H1>
The CHANGES.html file has a complete, historical list of all user-visible
(and some invisible) changes to this code.
<P>
<P>
<HR>
<H1><A NAME="AUTHORS">AUTHORS
</A></H1>
The code is currently maintained and supported by:
<P>
<PRE> Hildo Biersma <Hildo.Biersma@MorganStanley.com>
</PRE>
<P>
</DL>
</BODY>
</HTML>
( run in 1.112 second using v1.01-cache-2.11-cpan-39bf76dae61 )