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 edit job_list using a date parameter

    How to edit job_list using a date parameter

    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

    Desired Outcome Goal:
    How can I put the parameters in the job list so that it will print from one date to another, where the date is always relevant to the current date (for example, from 8 days ago until yesterday)?

    Procedure:
    The job list has a way to enter days in parameters relevant to the current date.
    For example:
    %DATE+D007 means 7 days later than today.
    %DATE-D006 means 6 days ago

    see job_list header for more details.

    Here are two examples from $alephe_tab/job_list, one which retrieves records created from 7 days ago until today, and another which retrieves records created from 8 days ago until 1 day ago

    !* next line is p_ret_01 for records created from 7 days ago until today
    01 08:29:00 Y USM01 p_ret_01 USM01,,7_ago_till_today,000000000,999999999
    ,,00,%DATE-D007,%DATE,00000000,99999999,,AND,,,,,,,,,00000000,99999999,
    !*
    !* next line is p_ret_01 for records created from 8 days ago until 1 day ago
    01 08:29:00 Y USM01 p_ret_01 USM01,,8_ago_till_yesterday,000000000,99999
    9999,,00,%DATE-D008,%DATE-D001,00000000,99999999,,AND,,,,,,,,,00000000,99999999,

    Category: Background processing (500)

    Subject: Batch (500)


    • Article last edited: 10/8/2013
    View article in the Exlibris Knowledge Center
    1. Back to top
      • How to edit and work with p-file-08 fix scripts with unicode values?
      • How to edit the LDR field
    • Was this article helpful?

    Recommended articles

    1. Article type
      Topic
      Language
      English
      Product
      Aleph
    2. Tags
      1. 18.01
      2. Background processing (500)
      3. Batch (500)
      4. contype:kba
      5. Prod:Aleph
      6. 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