JMS/3000 is used for this purpose in our shop ... and it has a rich set of date
substitution parameters which you can specify via specific coding at the desired
locations in your jcl. Here's a list of the date parms available from JMS:
Parameter ---------------------------Value---------------------------- Type Lx
$FIRSTDAY 01012000 FIRST DAY OF CURRENT MONTH DTE8 8
$FIRSTWD 01032000 FIRST WORKING DAY OF CURRENT MONTH DTE8 8
$FRIDAY 01282000 LAST FRIDAY OF CURRENT MONTH DTE8 8
$LASTFRI 12311999 LAST FRIDAY OF PREVIOUS MONTH DTE8 8
$LASTMTH 12311999 LAST DAY OF PREVIOUS MONTH DTE8 8
$LASTMTHFD 12011999 FIRST DAY OF PREVIOUS MONTH DTE8 8
$LASTWD 01312000 LAST WORKING DAY OF CURRENT MONTH DTE8 8
$LASTWKDAY 01182000 LAST WORK DAY DTE8 8
$LASTYR 12311999 LAST DAY OF PREVIOUS YEAR DTE8 8
$MONDAY 01032000 FIRST MONDAY OF CURRENT MONTH DTE8 8
$MTHEND 01312000 LAST DAY OF CURRENT MONTH DTE8 8
$NEXTFRI 01212000 NEXT FRIDAY DTE8 8
$NEXTMON 01242000 NEXT MONDAY DTE8 8
$NEXTSAT 01222000 NEXT SATURDAY DTE8 8
$NEXTSUN 01232000 NEXT SUNDAY DTE8 8
$NEXTTHU 01202000 NEXT THURSDAY DTE8 8
$NEXTTUE 01252000 NEXT TUESDAY DTE8 8
$NEXTWED 01262000 NEXT WEDNESDAY DTE8 8
$NEXTWKDAY 01202000 NEXT WORK DAY DTE8 8
$PRIORFRI 01142000 PRIOR FRIDAY DTE8 8
$PRIORMON 01172000 PRIOR MONDAY DTE8 8
$PRIORSAT 01152000 PRIOR SATURDAY DTE8 8
$PRIORSUN 01162000 PRIOR SUNDAY DTE8 8
$PRIORTHU 01132000 PRIOR THURSDAY DTE8 8
$PRIORTUE 01182000 PRIOR TUESDAY DTE8 8
$PRIORWED 01122000 PRIOR WEDNESDAY DTE8 8
$TODAY 01192000 TODAY'S DATE DTE8 8
$YESTERDAY 01182000 YESTERDAY'S DATE DTE8 8
$YREND 12312000 LAST DAY OF CURRENT YEAR DTE8 8
The substitution syntax used in the jcl may also include one of several output
formats for the date. Calculated dates are based upon the value of $TODAY.
Additionally, user-defined dates (6- or 8-digit, plus fiscal dates) and optional
date files (used to maintain the non-system defined dates) may be created.
YMMV,
----
Lee Gunter The Regence Group
Supervisor, TRG HP/MPE Systems 503.375.4498
----
Opinions expressed are solely mine.
From: STEPHEN HUNTER <[log in to unmask]> on 01/19/2000 07:55 AM
Please respond to STEPHEN HUNTER <[log in to unmask]>
To: [log in to unmask]
cc: (bcc: Lee Gunter/BCBSO/TBG)
Subject: [HP3000-L] Scheduling Package for ManMan
Hello Everybody,
About 2 months ago, I had asked if anyone knew of any good, reliable
scheduling packages for the HP3000 running Ask/ManMan as a front-end.
I received some responses, but by PC blew up so everything that was
suggested is now gone.
Here is a reminder of what I need: The scheduling package would have to
support date parms(ie; I have multiple jobstreams that look into the future
and past for date parms 21 days ahead, 7 days, 8 days, 90 days ahead, 21
days back these are mainly daily jobs, there are also weekly jobs that run
for the current week, and monthly jobs that run for the current month ((
this week would be for Jan 17 thru Jan 22, This month would be for 01012000
thru 01312000)). Right now I change all these dates through a qedit query
procedure that works okay as long as the person manually changing the dates
does not err. If that person errs, I have multiple fires to put out, so the
package MUST support date parms. If anyone knows of anything that works,
please explain in detail within your reply as to how the package
"changes"(ie; date equations, external file ect..) the dates that I
currently change manually.
Thanks in advance!!
Stephen
______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com
|