Main -> Documentation -> WebZ System Administration -> WebZ Utility Programs -> The ber2marc Utility |
The ber2marc utility allows you to convert ASN.1/BER data into Machine-Readable Cataloging (MARC) format. Open SiteSearch database records are stored in ASN.1/BER format. As part of the Open SiteSearch WebZ search and record retrieval process, the ZBase server formatting classes map ASN.1/BER records into MARC format before passing the records onto the JaSSI server for display in the WebZ Out-of-the-Box Interface (OBI). The ber2marc utility can be used as a tool to test any formatting classes that you have written at the ZBase level to map ASN.1/BER data to MARC. Location: The ber2marc utility is located in the <WebZ_root>/scripts directory, where <WebZ_root> is the location of your installed WebZ environment. Syntax ber2marc -iber_file [-cformatClassName] [-mmaxrecs] [-sskiprecs] [-n]
Example The following example demonstrates how to use the ber2marc utility to view the last 5 records of an ASN.1/BER file that contains 35 total records in a MARC-formatted display.
The following example is identical to the example above, but the output is directed to a text file.
See Also |
[Main][Documentation][Technical Reference][Glossary][Search] |