Skip to main content
ExLibris
  • Subscribe by RSS
  • Ex Libris Knowledge Center

    Notices missing from xxx50/print directory, but z36_letter_number & date updated

    • Article Type: General
    • Product: Aleph
    • Product Version: 18.01

    Description:
    In early July I setup p_cir_52 (Overdue Summary notices) for the law library. They were not sending any type of overdue notice prior to this, manual or otherwise.

    I set the cir-52 jobs to run in job_list at 6am, Mon-Fri using the supplied printid. The library set their alephcom.ini to email notices. There were no notices generated at first, which seemed normal due to summer session. But after doing some research I discovered that z36_overdue_letter was being incremented and z36_date showed letters sent on July 10th and 14th. The Circ Logger Report also shows that overdue notices were sent on those days.

    I've looked in $alephe_scratch to determine if there was any type of error with the run. Other than "Error: missing bor:" I didn't find anything. The xml files are not showing in xxx50/print or in the save directory (.../print/save-2008-07-14), but it looks like they might have been emailed.

    Resolution:
    Concentrating on July 14, looking at the $aleph_scratch abc50_p_cir_52 job logs, I see that there are three runs of p_cir_52 which are specifying exactly the same name for the out-file:

    abc50_p_cir_52.04347.cirmail:

    setenv p_file_out "cir52_FIL_52_20080714"
    ...
    setenv p_letter_no "00"


    abc50_p_cir_52.04351.cirmail:

    setenv p_file_out "cir52_FIL_52_20080714"
    ...
    setenv p_letter_no "01"


    abc50_p_cir_52.04355.cirmail:

    setenv p_file_out "cir52_FIL_52_20080714"
    ...
    setenv p_letter_no "02"

    The effect of this is that the second out-file overwrites the first, and the third then overwrites the second.


    Looking at the $aleph_tab/job_list entries, I see that you have a suffix of "_2" for the 2nd notice line and "_3" for the third notice line:

    >>grep cir52_FIL_52_%DATE job_list

    !* 1st Notice - Hourly Loans - No Faculty
    W5 06:00:00 Y cirmail ABC50 p_cir_52
    ABC50,cir52_FIL_52_%DATE,N,21,Y,,LAW,52,00,40,Y,00,2,

    !* 2nd Notice - Hourly Loans - No Faculty
    W5 06:00:00 Y cirmail ABC50 p_cir_52
    ABC50,cir52_FIL_52_%DATE_2,N,21,Y,,LAW,52,00,40,Y,01,2,

    !* 3rd Notice - Hourly Loans - No Faculty
    W5 06:00:00 Y cirmail ABC50 p_cir_52
    ABC50,cir52_FIL_52_%DATE_3,N,21,Y,,LAW,52,00,40,Y,02,2,

    But these suffixes are not actually being included in the parameter as it is passed to the job. I believe that the problem has to do with its position following the %DATE variable.

    As described in the job_list header, the "+" and "-" operators can be used following the %DATE variable. It may be that the parsing routine is looking for these, and, finding instead this underscore ("_"), ignores the rest of the string.

    I suggest that you place the "_2" or "_3" before the date, that is:

    cir52_FIL_52_2_%DATE and cir52_FIL_52_3_%DATE

    Then stop/restart the job daemon (util e/15) to make the change take effect.


    • Article last edited: 10/8/2013
    • Was this article helpful?