[OPEN-ILS-GENERAL] Getting OCLC numbers out of the Reports

Walz, Jennifer jlwalz at asbury.edu
Tue Sep 13 13:50:10 EDT 2016


Chris, Rogan, et al –

Thanks everyone!    I got the report to come out with mostly correct things!  This is a win.

However, I cannot figure out why it is still spitting out tons of other titles that I did not ask it to give me.   I of course limit by owning library, then by shelving location, then the marc tag as you explain below.   It takes forever to run, but then gives me about 3000 more records that seem to be rather random from across all our collections.    Is this because the report IGNORED my filter by shelving location?   Did it just go out and find all those instances where there was an oclc number in the 001 field?

I cannot figure out the rhyme or reason behind all the extra data in my report.     How can I send you all the sql so you can see if there is something wrong with what I am doing?

Thanks!

Jennifer

From: Open-ils-general [mailto:open-ils-general-bounces at list.georgialibraries.org] On Behalf Of Chris Sharp
Sent: Tuesday, September 13, 2016 8:17 AM
To: Evergreen Discussion Group
Subject: Re: [OPEN-ILS-GENERAL] Getting OCLC numbers out of the Reports

Jennifer,
Just leave the Field Transform as "Raw Data" and the Operator as "Equals" and it should work as you're expecting.  For a MARC field with subfields, you would want to add an additional filter of subfield as Rogan's example suggests.
Hope that helps!
Chris

On Mon, Sep 12, 2016 at 7:44 PM, Walz, Jennifer <jlwalz at asbury.edu<mailto:jlwalz at asbury.edu>> wrote:
Rogan,

Do I have to do BOTH the tag and the subfield?   And is 035 the only place in the marc where the oclc number is?   I was told it was in 001.   And this is how I have been doing it thus far, but getting weird results:

[cid:image001.jpg at 01D20DC5.BC0888C0]

(my results were at least to show me something from that field!)     Should I just do “raw data” and “equals” and “035” or “001”?     When I did that, it was giving me an error…

Thanks!

Jennifer

From: Open-ils-general [mailto:open-ils-general-bounces at list.georgialibraries.org<mailto:open-ils-general-bounces at list.georgialibraries.org>] On Behalf Of Rogan Hamby
Sent: Monday, September 12, 2016 7:11 PM

To: Evergreen Discussion Group
Subject: Re: [OPEN-ILS-GENERAL] Getting OCLC numbers out of the Reports

Jennifer,

There isn't much more to it.  Use the flattened attributes as a filter and filter by tag = '035' and subfield = 'a' in addition to the other filters you use.  Display the normalized value.  That's it.  Add that onto your existing report for the others values to get the 035.  One downside is that if a record doesn't have a 035 it won't display though.

On Mon, Sep 12, 2016 at 6:41 PM, Walz, Jennifer <jlwalz at asbury.edu<mailto:jlwalz at asbury.edu>> wrote:
Rogan,

Thanks for the reply.   I already figured that I should probably be looking at the flattened MARC fields section, but how do I use those to extract the OCLC number from the MARC field?    Can I select a particular MARC field to appear only in the output?  How do I tell the system to show me just that one field and not all of them?

  Specifics please.  ☺

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://libmail.georgialibraries.org/pipermail/open-ils-general/attachments/20160913/95b8d2c2/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.jpg
Type: image/jpeg
Size: 23431 bytes
Desc: image001.jpg
URL: <http://libmail.georgialibraries.org/pipermail/open-ils-general/attachments/20160913/95b8d2c2/attachment-0001.jpg>


More information about the Open-ils-general mailing list