MARC 852 field columns misaligned on z3950 export
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Evergreen |
Triaged
|
Undecided
|
Unassigned |
Bug Description
Evergreen version presented 2.0.5, verified still present in 2.1.1
The 852 subfields produced in a typical export from the staff client of a MARC record are coded in the export script in the file marc_export as follows:
MARC::Field->new(
852, '4', '',
a => $location,
b => $orgs{$
b => $orgs{$
c => $shelves{
j => $cn->label,
($cp->circ_modifier ? ( g => $cp->circ_modifier ) : ()),
p => $cp->barcode,
($cp->price ? ( y => $dollarsign.
($cp->copy_number ? ( t => $cp->copy_number ) : ()),
($cp->ref eq 't' ? ( x => 'reference' ) : ()),
($cp->holdable eq 'f' ? ( x => 'unholdable' ) : ()),
($cp->circulate eq 'f' ? ( x => 'noncirculating' ) : ()),
($cp->opac_visible eq 'f' ? ( x => 'hidden' ) : ()),
)
However, when a record is derived via z3950, these columns are aligned differently via the code presented in SuperCat.pm:
Part of the resulting issue is an inability to work with the $j, $y and $p fields as presented by Evergreen when 3rd parties or other retrieving entities require this price, status, and identification information for their own products and services that they would otherwise expect having examined typical exports.
Changed in evergreen: | |
status: | New → Incomplete |
Changed in evergreen: | |
status: | Incomplete → Triaged |
tags: |
added: cat-importexport cat-marc removed: export marc z3950 |
tags: | added: z3950 |
tags: | removed: pullrequest |
Hello, just confirming that this is still an issue in 2023, checked 3.11 and master around 7/26/2023.
It looks like the bib bucket export also uses different codes than the marc_export script as well.
https:/ /git.evergreen- ils.org/ ?p=Evergreen. git;a=blob; f=Open- ILS/src/ perlmods/ lib/OpenILS/ WWW/Exporter. pm;hb=HEAD
Uses subfield z for status instead of s, and doesn't have call number prefix/suffix subfields at all. Also sets subfield x to nonreference, holdable, circulating, visible vs marc_export that only does the opposites of those values.
Also it sets the MARC Location Code from LOC (subfield a) to "gaaagpl" as the default value vs the marc_export script that excludes that subfield unless a flag is set to set the value.
Where else should I check for 852 generation that may also be in a different format?
Our new state wide ILL system may be using both exported dumps from marc_export and checks via z39.50 so having two wildly different formats will be just awkward to explain.
Changing the z39.50/sru format may break our current ILL integration since it also does availability checks via z39.50. So this will probably need to be well documented in a major release.
It seems to me like the marc_export format more closely follows the MARC standard for 852. /www.loc. gov/marc/ holdings/ hd852.html
https:/
Does anyone know of any reason to not have one standard for 852 generation for all evergreen holding exports?
Josh