|
Pedro,
Just build yourself a little calendar file containing the last Fridays of each month, and key it by date. Schedule a job to run every Friday. Have the program chain to the file with the job date. If you get a hit, send the message.
Quick & dirty, KISS principle, etc.
Paul Nelson Arbor Solutions, Inc. 708-670-6978 Cell pnelson@xxxxxxxxxx
"Always do right. This will gratify some people and astonish the rest." Samuel L. Clemens (Mark Twain)
Vern Hamberg <vhamberg@xxxxxxxxxxxxxxxxxxxxxxxxx> Sent by: midrange-l-bounces@xxxxxxxxxxxx 10/15/2003 08:56 AM Please respond to Midrange Systems Technical Discussion
To: Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxx>
cc:
Subject: RE: jobscde question
I don't believe it recognizes working days. The help text is pretty clear - *MONTHEND is the last day of the month - no qulaifiers. ROBOT does recognize working days, it can even use a calendar where you define holidays and other working.non-working days. The IBM Advanced Job Scheduler (licensed product, also costs money) might. HTH
You could write something that is scheduled the last 3 (or ? - 3 would catch a Friday in a month that ends on Sunday) days of the month which would check your criteria. There are APIs that can give you the day of the
week - SQL can do it, too. You can work out the rest.
Vern
At 02:16 PM 10/15/2003 +0100, you wrote:
>Ok, but always on a working day ? > >If the end of the month is a sunday , the message will be sent the friday >before (last working day of the month ) ? > >USNDMSGBRK SCD *MONTHEND 15:00:00 *MONTHLY *SBMRLS 31/10/03
_______________________________________________ This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo/midrange-l or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/midrange-l.
_______________________________________________ This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo/midrange-l or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/midrange-l.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.