YAZ-RECORD-ICONV(1)

πŸ’– YAZ-RECORD-ICONV(1) πŸ’–

okay bestie, so this whole page lives in the Commands section of the manual, and the title up top is literally YAZ-RECORD-ICONV(1) β€” that's the main character name of this entry, periodt. come sit with me, we're learning a lil utility πŸŽ€


✨ NAME ✨

yaz-record-conv β€” the YAZ Record Conversion Utility πŸ¦‹


🌸 SYNOPSIS 🌸

like, the whole vibe in one line:

yaz-record-conv [-v loglevel] [config] [fname...]

πŸ‘‘ DESCRIPTION πŸ‘‘

ngl, yaz-record-conv is a program that exercises the record conversion sub system. that's literally its whole job, she's a tester girlie πŸ’…

if you want the real tea on how it works, go peek at the record_conv.h header. iykyk πŸ“–


πŸ’… OPTIONS πŸ’…

  • -v _level_ β€” sets the LOG level to _level_. and okay here's the thing: _level_ isn't just one thing, it's a sequence of tokens separated by comma πŸ“. each token is either an integer, or one of these named LOG items: fatal, debug, warn, log, malloc, all, none. mix and match, it's giving buffet.

πŸ”₯ EXAMPLES πŸ”₯

okay so this next part? iconic. this backend config converts MARC records (ISO2709) to Dublin-Core XML ✨

<backend name="F" syntax="usmarc">
  <marc inputcharset="marc-8" inputformat="marc" outputformat="marcxml"/>
  <xslt stylesheet="../etc/MARC21slim2DC.xsl"/>
</backend>

and then β€” not me actually converting one of the sample records from YAZ' test directory 🫢 β€” we can do exactly that with:

$ ../util/yaz-record-conv record-conv-conf.xml marc6.marc
<?xml version="1.0"?>
<dc:dc xmlns:dc="http://purl.org/dc/elements/1.1/">
  <dc:title>How to program a computer</dc:title>
  <dc:creator>
    Jack Collins
  </dc:creator>
  <dc:type>text</dc:type>
  <dc:publisher>Penguin</dc:publisher>
  <dc:language>eng</dc:language>
</dc:dc>

look at that output. she ate and left no crumbs πŸ˜­πŸ’–


πŸŽ€ FILES πŸŽ€

  • record_conv.h β€” the header file, the source of all truth, the blueprint bestie 🧚

🌈 SEE ALSO 🌈

  • yaz(7) β€” go read that one too, she's the bigger sister πŸ’œ

πŸ’– AUTHORS πŸ’–

Index Data β€” the icons who made this 🫢


aaaand that's the page!! this little beauty is from YAZ 5.38.1, dated 10/16/2026 β€” so yeah, that's the version and the date, noted for the record, no cap ⭐ mwah, go convert some records πŸ’…βœ¨πŸ’€

πŸ“¦ where this page comes from