Creating a Pears Database
When you build a Pears database, you use the Bartlett utility to convert and import an input data file into a single output (.pdb) file that contains the indexes and records for the database. The following information outlines the procedure for creating a Pears database using the Bartlett utility. Links are also provided to other related procedures and reference information.
Prior to running Bartlett to build a new Pears database, you need to assemble an input data file and define a database description configuration file for the database. The input data file contains the records in their native format and the database description configuration file contains the rules for generating indexes and storing records based on the contents of the input data file.
The following steps outline the procedure for creating a Pears database using the Bartlett utility:
1. Make a directory for your new database.
2. Copy the input data file and the database description configuration file for the database into the new directory.
3. Type the following command line within the new directory to execute Bartlett:
>java Bartlett marc -imarc.usmarc -dmarcdesc.ini
|Result:||Bartlett creates the database file, marc.pdb.|
- Ralph LeVan ( firstname.lastname@example.org)
Content Last Modified: April 19, 2001