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

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

    • 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