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. fix_doc_do_file_08: ADD-SUBFIELD doesn't work

    fix_doc_do_file_08: ADD-SUBFIELD doesn't work

    1. Last updated
    2. Save as PDF
    3. Share
      1. Share
      2. Tweet
      3. Share
    1. Additional Information
    • Article Type: General
    • Product: Aleph
    • Product Version: 20

    Description:
    We have 856 fields in incoming records that look like this:

    000000001 85640 L $$uhttp://proxy.lib.abc.edu:90/login?url=http://site.ebrary.com/lib/abck/Top?id=10484268$$zOnline access :

    I want to delete the existing subfield $$z and add a new subfield $$z so that the fields look like this:

    000000001 85640 L $$uhttp://proxy.lib.abc.edu:90/login?url=http://site.ebrary.com/lib/abck/Top?id=10484268$$zOnline access : 1 simultaneous user

    Using the EBK1 fix routine in manage-37/tab_fix, I have created a file called ybp_ebook_fix2 with the following contents:

    ! 2 3 4 5 6 7 8 9
    !-!!!!!-!!-!-!!!-!!!-!!!!!-!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!-!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    1 85640 DELETE-SUBFIELD z
    1 85640 ADD-SUBFIELD z,Online access : 1 simultaneous user

    However, the resulting 856 fields look like this:

    000000001 85640 L $$uhttp://proxy.lib.abc.edu:90/login?url=http://site.ebrary.com/lib/abck/Top?id=10484268$$8L

    Resolution:
    The second command needs to be a "2" (rather than "1"):

    ! 2 3 4 5 6 7 8 9
    !-!!!!!-!!-!-!!!-!!!-!!!!!-!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!-!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    1 85640 DELETE-SUBFIELD z
    2 85640 ADD-SUBFIELD z,Online access : 1 simultaneous user

    Additional Information

    p_file_08


    • Article last edited: 10/8/2013
    View article in the Exlibris Knowledge Center
    1. Back to top
      • fix_doc_create_035_1 does not create field 035
      • fix_doc_mab_hol_low - CAT tag
    • Was this article helpful?

    Recommended articles

    1. Article type
      Topic
      Language
      English
      Product
      Aleph
    2. Tags
      1. 20
      2. contype:kba
      3. Prod:Aleph
      4. 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