Add info to clarify --marctype option.
authorrsoulliere <robert.soulliere@mohawkcollege.ca>
Tue, 30 Aug 2011 15:05:09 +0000 (11:05 -0400)
committerrsoulliere <robert.soulliere@mohawkcollege.ca>
Tue, 30 Aug 2011 15:05:09 +0000 (11:05 -0400)
2.0/admin/migratingdata_2.0.xml

index b37fffb..cf8ce7c 100644 (file)
@@ -724,13 +724,13 @@ SELECT DISTINCT bre.id FROM biblio.record_entry AS bre
                                <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