[OPEN-ILS-GENERAL] EG 2.0: problem Marc2bre - Global Flags "Maintain 001-003-035 according MARC" and "TCN=Internal ID"

2011-02-11 Thread Repke de Vries


Command-line importing with marc2bre + pg_loader [1] in EG RC2  
Virtual Image, the import went fine but the Global Flags settings  
"Maintain 001-003-035 according MARC" = TRUE and "Cat: Use Internal  
ID for TCN Value" = TRUE are being ignored.


In other words:  I am getting a Record ID and TCN that are  
derivatives of the control number in the imported 001 field: wrong.


Can this be a result of calling marc2bre with --idfield=001 rather  
than --tcnfield=001 ?


As per  my Global Flag settings: I don't want TCN's to follow from my  
imported record but maybe this is a way to kick the Global Flag  
settings into action when doing the command-line import?
Or should one of the pg_loader calling parameters be different to get  
the desired Global Flag settings behaviour?


The odd thing is:  using marc2are for authority records importing  
[2], everything works as expected with Global Flag settings being  
followed.


Help appreciated !

Repke de Vries, IISH

[1] according to http://svn.open-ils.org/trac/ILS/browser/trunk/Open- 
ILS/tests/datasets/README

and as follows:
PERL5LIB=/openils/lib/perl5/ perl /home/opensrf/Evergreen-2.0/Open- 
ILS/src/extras/import/marc2bre.pl --idfield 001 --idsubfield b -- 
marctype XML --db_host localhost --db_name evergreen --db_user  
evergreen --db_pw evergreen bibliographical.xml | perl /home/opensrf/ 
Evergreen-2.0/Open-ILS/src/extras/import/pg_loader.pl -or bre -or mrd  
-or mfr -or mtfe -or mafe -or msfe -or mkfe -or msefe -a mrd -a mfr - 
a mtfe -a mafe -a msfe -a mkfe -a msefe | psql -d evergreen -h  
localhost -U evergreen -h localhost


The "--idsubfield b" is a mistake 'cause the records are straight  
MARC with the ID in 001; marc2bre gracefully ignored this mistake


[2]
PERL5LIB=/openils/lib/perl5/ perl  /home/opensrf/Evergreen-2.0/Open- 
ILS/src/extras/import/marc2are.pl --marctype XML --startid 200  
bibliographical_authorities.xml > bibauth.are

followed by the pg_loader en psql steps.




Re: [OPEN-ILS-GENERAL] Holds Aging

2011-02-11 Thread Joan Kranich
Thanks Mike.

Joan

Joan Kranich
C/W MARS Member Services
jkran...@cwmars.org

-Original Message-
From: open-ils-general-boun...@list.georgialibraries.org 
[mailto:open-ils-general-boun...@list.georgialibraries.org] On Behalf Of Mike 
Rylander
Sent: Thursday, February 10, 2011 1:34 PM
To: Evergreen Discussion Group
Subject: Re: [OPEN-ILS-GENERAL] Holds Aging

On Thu, Feb 10, 2011 at 9:16 AM, Joan Kranich  wrote:
> Hi,
>
> I have another question about Age Holds Protection (Holds Aging). During the 
> period of Age Holds Protection, if the item is checked in at another location 
> and there are holds, does it follow the rule of filling for only the owning 
> library's holds?
>
> Example:
> A Worcester item is within the Age Holds Protection period.
> It is checked in at Leominster and Leominster has a patron with a hold with a 
> Leominster pickup location.
> Does the Worcester item fill the Leominster hold, where it is being checked 
> in, or go back to Worcester because the pickup location is not Worcester?
>

It will follow the aging rule and go back to Worcester.  This is
because age protection affects the potentials list, that is, the
copies that can fill the hold, and the copy in question will not be on
that list.

--miker

> Thanks.
> Joan
>
> Joan Kranich
> C/W MARS Member Services
> jkran...@cwmars.org
>
> -Original Message-
> From: open-ils-general-boun...@list.georgialibraries.org 
> [mailto:open-ils-general-boun...@list.georgialibraries.org] On Behalf Of 
> Jason Etheridge
> Sent: Wednesday, September 08, 2010 12:04 PM
> To: Evergreen Discussion Group
> Subject: Re: [OPEN-ILS-GENERAL] Holds Aging
>
>> In our consortium of 72 libraries (live), libraries can place 6-month age
>> protection on their new items.  Some choose to use it just for the popular
>> materials, but not things like nonfiction.  That's up to library.  Both
>> library staff and patrons are happy with this arrangement, since the
>> materials stay with the home library's patrons for that timeframe.
>
> Incidentally, you can have settings here other than 3-month and
> 6-month (and also control how far-reaching they are--system, branch,
> etc), but these options are global across all libraries.
>
> --
> Jason Etheridge
>  | VP, Tactical Development
>  | Equinox Software, Inc. / Your Library's Guide to Open Source
>  | phone:  1-877-OPEN-ILS (673-6457)
>  | email:  ja...@esilibrary.com
>  | web:  http://www.esilibrary.com
>



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