Using a Perl Script
If you want to automate the rebuilding of your
meta-collections into new collections, you can use a Perl script to
perform the necessary functions.
Warning! The Perl script provided with Verity Spider
V3.6 is for demonstration purposes only. It is understood that the use
of this script, which will require editing on your part, is undertaken
at your own risk and will not be supported by Verity technical support.
How to Get Perl
You may obtain the latest distribution of Perl at
http://www.perl.org. Follow the instructions provided for
your platform.
Using the Sample Perl Script
The sample Perl script, meta2uni.pl, is
installed to:
- installdir/platform/admin/meta2uni.pl
where installdir is the full path to the
directory in which you installed Information Server, and platform
is dependent on your operating system. For a complete list of supported
operating systems and platforms, see the Information Server Product
Notes.
The syntax for meta2uni.pl is:
- meta2uni.pl -style [unistyledir] -metacoll [metacoll]
-unicoll [unicoll] [options]
meta2uni.pl Arguments
Editing meta2uni.pl
To make meta2uni.pl work on your
platform, follow these steps.
- 1. Replace the line below with the path to your Perl executable.
- #!/usr/vbin/perl
- NOTE: This is only necessary for UNIX, as the .
pl
extension is handled automatically by Perl on Windows NT.
- 2. Replace the full path to the Information Server
/bin
directory in the line below. For <platform>, choose the
appropriate value. For a complete list of supported operating systems
and platforms, see the Information Server Product Notes.
- $VDKBINDIR="$ENV{'HOME'}/verity/<platform>/bin";
Copyright © 1998, Verity, Inc. All rights reserved.