<step> \r
<para>Run <command>marc2are.pl</command> against the authority records, specifying the user name, password, MARC type (USMARC or XML). Use \r
<varname>STDOUT</varname> redirection \r
- to either pipe the output directly into the next command or into an output file for inspection. For example, to process a set of authority records \r
- named <filename>auth_small.xml</filename> using the default user name and password and directing the output into a file named <filename>auth.are</filename>:</para>\r
+ to either pipe the output directly into the next command or into an output file for inspection. For example, to process a file with authority records in MARCXML format\r
+ named <filename>auth_small.xml</filename> using the default user name and password, and directing the output into a file named <filename>auth.are</filename>:</para>\r
<screen>\r
<userinput>cd Open-ILS/src/extras/import/</userinput>\r
-<userinput>perl marc2are.pl --user admin --pass open-ils auth_small.xml > auth.are</userinput>\r
+<userinput>perl marc2are.pl --user admin --pass open-ils --marctype XML auth_small.xml > auth.are</userinput>\r
</screen>\r
- \r
+ <note><para>The MARC type will default to USMARC if the <option>--marctype</option> option is not specified.</para></note>\r
</step>\r
<step> \r
<para>Run <command>pg_loader.pl</command> to generate the SQL necessary for importing the authority records into your system. To save time for very large batches of records, you could \r