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. Removing In Storage items

    Removing In Storage items

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

    Description:
    We wanted to remove “in storage” items we had over the summer. Some of these In Storage items are attached to a separate 852. In that case, the 852 would have to be deleted also.

    The In Storage items that share an 852 (1 copy in STFX General Collection, 1 copy In Storage), the “In Storage” item only, would have to be deleted.

    From SQL, I could do a delete from z30 where Z30_ITEM_PROCESS_STATUS = 'ST' AND z30_sub_library like 'SFX%'. but I still need to remove the 852 item.

    How can I do this? Is there anything else that needs to be done for this request?

    Resolution:
    If the only 852's with the "SFX.." sublibrary code are these which you want to delete, then you could use the p_manage_21 global change, running in the NOV60 library, to delete them (where 852 $$bSFX? )

    Otherwise, you would need to do the following:

    1.
    SQL-NOV50> set heading off
    SQL-NOV50> set pause off
    SQL-NOV50> spool hol_numbers
    SQL-NOV50> select Z30_HOL_DOC_NUMBER_X from z30 where Z30_ITEM_PROCESS_STATUS = 'ST' AND z30_sub_library like 'SFX%' minus select Z30_HOL_DOC_NUMBER_X from z30 where Z30_ITEM_PROCESS_STATUS ^= 'ST';

    (This assures that only HOL records whose items are *all* ST items will be selected.)

    2. Edit the hol_numbers file produced in step 1 to append "NOV60" to each line. (This is described in KB 8192-1591.)

    3. Use the file produced in step 2 as input to the p_manage_21 global change (-- so the change will be limited to just these HOL records).

    Additional Information

    faq, SQL


    • Article last edited: 10/8/2013
    View article in the Exlibris Knowledge Center
    1. Back to top
      • Removing deleted ALEPH records from Primo
      • Removing items with certain statuses from x-service
    • Was this article helpful?

    Recommended articles

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