Skip to main content
ExLibris

Knowledge Assistant

BETA
 
  • Subscribe by RSS
  • Back
    Aleph
    Ex Libris Knowledge Center
    1. Search site
      Go back to previous article
      1. Sign in
        • Sign in
        • Forgot password
    1. Home
    2. Aleph
    3. Knowledge Articles
    4. Problems of column 7 (occurence) value of REPLACE-STRING-GENERAL using fix_doc_do_file_08

    Problems of column 7 (occurence) value of REPLACE-STRING-GENERAL using fix_doc_do_file_08

    1. Last updated
    2. Save as PDF
    3. Share
      1. Share
      2. Tweet
      3. Share
    No headers
    • Article Type: General
    • Product: Aleph
    • Product Version: 21

    Problem Symptoms:
    Trying to remove character comma with fix_doc_do_file_08 using parameter "occurence" in the fix routine does not work properly.

    Example:
    ! 2 3 4 5 6 7 8 9
    !-!!!!!-!!-!-!!!-!!!-!!!!!-!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!-!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    1 100##              LAST  REPLACE-STRING-GENERAL         $,$
    1 700##              NOT-F REPLACE-STRING-GENERAL         $,$



    Goal:
    The last comma in field 100 shall be replaced by blank but not the comma between surname and forename
    The 2nd. and ongoing comma in field 700 shall be replaced by blank.

    Cause:
    Configuration

    Resolution:
    The filter "occurence" does not work for several appearances of one character in one field but for the occurence of more than one identical field. E.g. if you have 4 fields 500 and you assign occurrence filter "NOT-F" the configured operation will only be done for the 2nd., 3rd. and 4th. field and not for the 1st. one.

    Adjust the settings like this:
    ! 2 3 4 5 6 7 8 9
    !-!!!!!-!!-!-!!!-!!!-!!!!!-!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!-!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    1 100##                    REPLACE-STRING-GENERAL         |,$$d|$$d
    1 100##                    REPLACE-STRING-GENERAL         |,$$e|$$e
    1 700##                    REPLACE-STRING-GENERAL         |,$$d|$$d
    1 700##                    REPLACE-STRING-GENERAL         |,$$e|$$e



    Result:
    Original field text:
    1001 L $$aHell, Andrea,$$d1961-
    7001 L $$aHell, Joseph,$$d1875-1950.,$$eaut.$$tKultur der Araber.$$lEnglish.


    Field txt with fix:
    1001 L $$aHell, Andrea$$d1961-
    7001 L $$aHell, Joseph$$d1875-1950.$$eaut.$$tKultur der Araber.$$lEnglish.

     

    Category: Cataloging (500) - ALEPH

    Subject: Create / Edit records (500) - ALEPH


    • Article last edited: 2/18/2014
    View article in the Exlibris Knowledge Center
    1. Back to top
      • Problems importing zero width non-joiner in Arabic (MARC8_TO_UTF conversion)
      • Problems re-loading z39.50-retrieved records saved in MyRecords (GUI)
    • Was this article helpful?

    Recommended articles

    1. Article type
      Topic
      Language
      English
      Product
      Aleph
    2. Tags
      1. 21
      2. Cataloging (500) - ALEPH
      3. contype:kba
      4. Create / Edit records (500) - ALEPH
      5. Prod:Aleph
      6. Type:General
    1. © Copyright 2025 Ex Libris Knowledge Center
    2. Powered by CXone Expert ®
    • Term of Use
    • Privacy Policy
    • Contact Us
    2025 Ex Libris. All rights reserved