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. Report for Item and last loan date

    Report for Item and last loan date

    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, 21, 22, 23

    Description:
    I've been asked to create a report that shows:
    STA
    Author
    Title
    Year (copyrightdate)
    Call#
    Last Loaned Date

    I need to be able to filter it on any one of the fields, so a simple .txt file that I can bring into Excel or Access would work best. I cannot find a canned report to do this and my systems help cannot figure it out either. Can this report even be created using standard SQL and the Oracle databases? If so, how?

    Resolution:
    This SQL will do most of what you need:

    select unique Z13_author, Z13_TITLE, z13_year, Z30_CALL_NO, z30_date_last_return from ABC01.Z13, Z30, Z103 where 'ABC01' || Z13_REC_KEY = Z103_REC_KEY_1 and substr (Z103_REC_KEY,1,14) = 'ABC50' || substr (Z30_REC_KEY,1,9);

    The STA is a problem. The STA field is only in the bib z00 and the z00r. The z00 cannot be read by SQL and abc01 does not have the z00r (-- the abc01 tab100 has "CREATE-Z00R=N"). It may be that the Z30_item_process_status would give you some of the values you want? (If so, you could simply add it to the select statement shown above.)

    Additional Information

    See also the article " Most recent loan date for items ".


    • Article last edited: 10/8/2013
    View article in the Exlibris Knowledge Center
    1. Back to top
      • Report did not run on schedule, error "C-SEC-3401 The current user session..."
      • Report for specific bib records
    • 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