Skip to main content
ExLibris
  • Subscribe by RSS
  • Ex Libris Knowledge Center

    How to add subfield content containing comma?

    • Article Type: General
    • Product: Aleph
    • Product Version: 20

    Description:
    I am coding a fix doc script for one of my loaders. I need to add a subfield "b" to field 300. The content of this subfield is "digital, PDF file". So I entered
    2 300 ADD-SUBFIELD b,digital, PDF file

    but it only adds the word "digital". file_08 completely ignores any text when it reaches the comma. I even tried to code it as
    2 300 ADD-SUBFIELD b,digital\044 PDF file

    with the same effect.

    Any suggestions how can I get around this?

    Resolution:
    Since the comma is used as a separator, p_file_08 doesn't handle commas in text strings.

    KB 16384-1683 talks about doing this with p_manage_21.


    • Article last edited: 10/8/2013