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 get list of items with z30_temp_location='Y'

    How to get list of items with z30_temp_location='Y'

    1. Last updated
    2. Save as PDF
    3. Share
      1. Share
      2. Tweet
      3. Share
    1. Description
    2. Resolution

     

    • Product: Aleph
    • Product Version: 20, 21, 22, 23
    • Relevant for Installation Type: Dedicated-Direct, Direct, Local, Total Care

     

    Description

    We need to retrieve items that are coded with a temporary location (z30_temp_location='Y'). We want to cross it with other files so an aleph sequential file in xxx50 is what we need. How can we create such a list? 

    Resolution

    We couldn't think of any easy way to do this with Aleph services.  The SQL script shown below will do it.  

                <SQL script:>

    set echo off
    set pause off
    set term off
    set show off
    set feed off
    set verify off
    set heading off
    set pagesize 50000
    set linesize 15

    spool temp-location-list

    select z30_rec_key from z30 where z30_temp_location = 'Y' order by z30_rec_key;

    spool off
    exit

              <end script>
     

    If you want, you could add other information to the "select", such as:  

    select z30_rec_key, z30_sub_library, z30_collection, z30_call_no from z30 where z30 where z30_temp_location = 'Y' order by z30_rec_key;

     


    • Article last edited: 1-Sep-2017
    View article in the Exlibris Knowledge Center
    1. Back to top
      • How to get circulation statistics by Collection?
      • How to get MARCIt! to overlay its own deleted records
    • Was this article helpful?

    Recommended articles

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