How to find bib records without a specific field in Create Lists

Hi all,

Long time lurker, first time poster here. We’re doing some cleanup prior to implementing Discover and I’d like to find bibs that don’t have an 008. I’m pretty sure I attended a presentation at IUG (2023? 2025?) that addressed how to find bibs by fields that don’t exist but now I cannot find it in my notes. Can anyone help?

Thanks!
Karen

Hi Karen,

You can search for BIBLIOGRAPHIC MARC Tag 008 equal to “” to find those records:

Hope that helps!

1 Like

You can also express this as MARC Tag 008 Not Exists using this JSON expression:

{
  "target": {
    "record": {
      "type": "bib"
    },
    "field": {
      "marcTag": "008"
    }
  },
  "expr": {
    "op": "not_exists",
    "operands": [
      "",
      ""
    ]
  }
}

Alex’s solution is more straightforward and yields identical results, but I offer this as a technique to keep in your back pocket for other situations where “equals empty string” doesn’t work as intended.

2 Likes