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. How to remove trailing blanks from 008?

    How to remove trailing blanks from 008?

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

    Desired Outcome Goal:
    Field 008 has 10 trailing characters “^” at the end of the field which shall be removed. They came into the field by mistake during data loading.

    Field content looks like …
    870227c19839999hk^mr^p^^^^^^^0uuu^0fre^d^^^^^^^^^^
    … but should look this way …
    870227c19839999hk^mr^p^^^^^^^0uuu^0fre^d

    The last entry in the field is always “d”. A file with affected system numbers is available.

    Procedure:
    Run “Download Machine-Readable Records (print-03)” for the file with the affected system numbers and extract only field 008. You get an output file which looks like …
    000005678 008 L 870227c19839999hk^mr^p^^^^^^^0uuu^0fre^d^^^^^^^^^^
    000053886 008 L 870227c19839999hk^mr^p^^^^^^^0uuu^0fre^d^^^^^^^^^^
    000006091 008 L 751101c19559999fr^ar^p^^a^^^^0uuub0fre^d^^^^^^^^^^
    000054162 008 L 751101c19559999fr^ar^p^^a^^^^0uuub0fre^d^^^^^^^^^^

    Now perform the following vi command …
    :1,$s/d^^^^^^^^^^/d/g
    … and save the file. It can then be used for loading the fields back using “Load ALEPH Sequential MARC Records (manage-18)” with options “Update current records in the database” and “Replace fields within a record”.

    Category: Cataloging (500)

    Subject: Importing records (500)


    • Article last edited: 10/8/2013
    View article in the Exlibris Knowledge Center
    1. Back to top
      • How to remove the $$xNA from the z108_period
      • How to remove/hide/disable the functionality for requesting items in OPAC
    • Was this article helpful?

    Recommended articles

    1. Article type
      Topic
      Language
      English
      Product
      Aleph
    2. Tags
      1. 18.01
      2. Cataloging (500)
      3. contype:kba
      4. Importing records (500)
      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