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. Course reading overdue notices

    Course reading overdue notices

    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:
    Is there anything we can do to produce updated overdue notices during the day for our short-term circulation items, such as course reading?

    Resolution:
    The p_cir_5n overdue notice programs only give you items which were due yesterday or earlier -- not today.

    The following sql procedure looks for items circulated today whose due time has passed:

    set echo off
    set pause off
    set term off
    set show off
    set feed off
    set verify off
    set heading off
    set pagesize 58

    spool reservedue.outfile

    select z36_id, z303_name, substr(z36_rec_key,1,9) || '-' || substr(z36_rec_key,10,6), Z36_DUE_HOUR, z13_title from z36, usr00.z303, usm01.z13 where z36_loan_date = TO_CHAR (SYSDATE, 'YYYYMMDD') and to_char(sysdate, 'HH24MI') > Z36_DUE_HOUR and substr(z36_rec_key,1,9) = z13_rec_key and z36_id = z303_rec_key order by z36_id, Z36_DUE_HOUR;

    spool off;
    exit

    <end sql file>

    [Note:
    You need to substitute your $usr_library for "usr00" and your bib library for "usm01".
    You should *not* substitute values in "YYYYMMDD" and "HH24MI". They are system variables: the date/time format into which SQL places the current date/time.]

    To execute it you do:

    > s+ abc50

    SQL-ABC50> @reservedue

    It produces a file "reservedue.outfile".

    If it seems that this would be of use, it could be set up in the job_list.


    • Article last edited: 10/8/2013
    View article in the Exlibris Knowledge Center
    1. Back to top
      • Course Reading module is not working following the UE 18-19
      • Course reading printouts and form_description.eng
    • 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