[OPEN-ILS-DEV] Importing from SIRSI

Grant Johnson fgjohnson at upei.ca
Sun Jan 20 20:18:05 EST 2008


Thanks Mike!

Update...
Cool,

marc2bre.pl  --> 20080118.bre
direct_ingest.pl --> 20080118.ingest
pg_loader.pl --> 20080118.sql

I assume, from reading, that I just load this like the gutenburg
titles...

Vol/Copy is the next challenge.

run import_holdings.pl
    a) What do I run it against?
    b) Vol/Copy is in 852 NOT 999
    c) ...What else do I need...how do I decide which GetOptions I need
to define?

This is the line that's unclear to me.
"Run import_holdings.pl, specifying the file to parse as the value of
the –marc_file argument and any overrides of the default values."  Where
do I get this file, what should it look like?

Once I understand this I'll do it all again in a live beta and submit
for contribution some step by step documentation for the whole process
.... Just trying to understand it this time through though.

So far most errors have been my own! - Cudo's to everyone contributing
code!


F. Grant Johnson
  Systems Coordinator
  Robertson Library
  University of Prince Edward Island
>>> "Mike Rylander" <mrylander at gmail.com> 01/20/08 12:58 PM >>>
On Jan 20, 2008 10:23 AM, Grant Johnson <fgjohnson at upei.ca> wrote:
> OK - This means - ASAIK - That I have records with duplicate 020.
> TC#'s are unique...Should these be used instead?

ISBN is only one of several "standard numbers" and configurable
locations that marc2bre will look at, and it tracks the identifiers
it's seen and used during the current session (or previous sessions,
if you use the --dontuse param to pass in a list of used TCNs).  That
message just means that it has already seen records with that number
in the "best" TCN field from the record, so it's going to use a system
generated number.  If the database is empty (or you've given it a
"dontuse" file) then that message is simply informational. (The !s
were added there to ease grep'ing, though they can probably go now.)
Also, the version in trunk has a better version of that message, and
is generally more robust -- and completely compatible with 1.2.x.

>
> Where are ALL the switches and descriptions for marc2bre?
>

They're currently just inside the script.  Look for GetOptions.

--miker

> F. Grant Johnson
>   Systems Coordinator
>   Robertson Library
>   University of Prince Edward Island
> >>> "Grant Johnson" <fgjohnson at upei.ca> 01/20/08 11:02 AM >>>
>
> Hi Dan - What a bone head - It's running now but what does this mean?
>
> # ./marc2bre.pl -startid 14492 20080118.mrc
>
> !!! ID la is already in use
> 9050    27.4954965106143
> !!! ID la is already in use
> 9100    27.4377099790584
> !!! ID la is already in use
> 11950   28.6334078952723
> !!! ID la is already in use
> 12100   28.6358835811726
> !!! ID la is already in use
>
>
> F. Grant Johnson
>   Systems Coordinator
>   Robertson Library
>   University of Prince Edward Island
> >>> "Dan Scott" <denials at gmail.com> 01/20/08 10:14 AM >>>
> On 20/01/2008, Grant Johnson <fgjohnson at upei.ca> wrote:
> > Dan and Jason,
> > Everything seems to be in the correct place.......
> >
> > osls:~# locate Fieldmapper
> > /evergreen/openils/lib/perl5/OpenILS/Utils/Fieldmapper.pm
> >
/evergreen/root/Evergreen-ILS-1.2.1.0/Open-ILS/src/perlmods/OpenILS/Utils/Fieldmapper.pm
>
> Ah, so /evergreen is the chroot'ed directory?
>
> Are you sure the user you're using to import the records has been
> chroot'ed as well? (e.g. "ls -l /" would not show /evergreen, just
> /openils)
>
> Dan
>
> --
> Dan Scott
> Laurentian University
>
>
>



-- 
Mike Rylander
 | VP, Research and Design
 | Equinox Software, Inc. / The Evergreen Experts
 | phone:  1-877-OPEN-ILS (673-6457)
 | email:  miker at esilibrary.com
 | web:  http://www.esilibrary.com



More information about the Open-ils-dev mailing list