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. '�TE-M001' for previous year doesn't work

    '�TE-M001' for previous year doesn't work

    1. Last updated
    2. Save as PDF
    3. Share
      1. Share
      2. Tweet
      3. Share
    No headers
    • Article Type: General
    • Product: Aleph
    • Product Version: 20

    Description:
    We are running p_circ_04 daily to report on items overdue in the past month. We have set this up to run automatically in the job_list and it worked fine last year but now I get the error:

    'Error in Param Initialization: F06: From-date is greater than To-date'.

    I am using 'Due Date To = %DATE-D001' and 'Due Date From = %DATE-M001'.

    This was working last year but now the generated 'Due Date From' is 06/12/2012 instead of 06/12/2010. Is there a different code I should use instead of %DATE-M001 to give me today's date minus 1 month?

    The job_list entry is:
    W3 08:00:00 Y ABC50 p_cir_04
    ABC50,poverduee1%DATE,P,A,Y,,%DATE-M001,%DATE-D001,LO,BA,40 41 42 43 44 45
    46 47 48 49 50 53 54 55 56 59 80 81 84,00,Y,

    Resolution:
    [From Jungeun Park, Yonsei U., on Global Aleph Users Discussion List:]

    I had the same problem and changed '%DATE-M001' to '%DATE-D031':

    W4 09:05:00 Y YUL01 p_com_01
    YUL01,rush_yul01_%DATE,%DATE-D031,%DATE+M001,BARCODE,RUSH-YSLIB,00,

    Last year in January, we had the problem for a month, but from February on it has worked properly.

    It doesn't work when %DATE-M001' code points the last year. I use '%DATE-D031' instead of '%DATE-M001' in January and it works properly.


    • Article last edited: 10/8/2013
    View article in the Exlibris Knowledge Center
    1. Back to top
      • 'Z07H_TRIGGER_1' does not exist; ABC01.Z07H ... table or view does n
      • "." should not be included in the PATH variable
    • Was this article helpful?

    Recommended articles

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