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. Appending string to z30-barcode for a particular set of ADM numbers

    Appending string to z30-barcode for a particular set of ADM numbers

    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

    Description:
    I have a list of 1,000 ADM sys numbers and I would like to append the string "-XVU" to the current z30_barcode. There is only a single item attached to each to each ADM record. What SQL statement would do this?

    Resolution:
    You would need to import these ADM numbers into an Oracle table (defined in ABC50). This is described in the document "Importing p_ret_01 output into SQL" in the How To folder on the Doc Portal.

    You can skip the "p_ret_01" section; start with "Defining temporary sql file".

    Then you would use the table ("tempadmnumrec") consisting of one column "admkey") like this:

    update z30 set z30_barcode = rtrim (z30_barcode) || '-XVU' where substr(z30.z30_rec_key,1,9) in (select admkey from tempadmnumrec);

    Be sure to back up the z30 table with p_file_03 before doing this. Contact Jerry Specht with any question.


    • Article last edited: 10/8/2013
    View article in the Exlibris Knowledge Center
    1. Back to top
      • Appending library to each line in file of record numbers (make "p_ret_01 format"
      • April 2007 Oracle critical patch
    • Was this article helpful?

    Recommended articles

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