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