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. COPY-FIELD" in generic fix doc script wipes out original field

    COPY-FIELD" in generic fix doc script wipes out original field

    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: 17.01

    Description:
    We are trying to copy the RLIN 852 field to a 950 field while preserving the original 852 field:

    This is the rlin.fix "generic fix" we are using:

    1 852## COPY-FIELD 950
    1 950## CHANGE-SUBFIELD b,l
    1 001 COPY-SYSTEM-NUMBER 0359 ,L,a,(CStRLIN)
    1 001 DELETE-FIELD 001


    [ <Jerry Specht > ]

    [ <Jerry Specht > ]

    Resolution:
    The "Generic Fix Doc Script Specification" says: "(If it is necessary to duplicate a field, tag and all, first COPY FIELD to a temporary tag, then CHANGE FIELD to the desired tag.)"

    Changing the first line in the script to use the temporary tag "999" and inserting a CHANGE-FIELD line worked:

    1 852## COPY-FIELD 999
    1 999## CHANGE_FIELD 950
    1 950## CHANGE-SUBFIELD b,l
    2 950## COPY-FIELD 852
    2 001 COPY-SYSTEM-NUMBER 0359 ,L,a,(CStRLIN)
    2 001 DELETE-FIELD 001

    Additional Information

    fix doc script, COPY-FIELD


    • Article last edited: 10/8/2013
    View article in the Exlibris Knowledge Center
    1. Back to top
      • Copy Oracle Table from One Server to Another
      • copy/paste multiple lines in Catalog GUI
    • Was this article helpful?

    Recommended articles

    1. Article type
      Topic
      Language
      English
      Product
      Aleph
    2. Tags
      1. 17.01
      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