Subject: | |
From: | |
Reply To: | |
Date: | Mon, 24 Jul 1995 22:53:24 GMT |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
I'm going to expose my past a little bit and disclose that I designed the
time delay enhancements to the :STREAM command back in my OS engineer
days. Be kind -- this was so long ago that no one had ever heard the
word "Usability". Some suggestions:
o The :HELP command provides quite a lot of details and examples
about how to use the timing parameters of the :STREAM command.
o As several people noted, you need to be cautious about using
the "relative" delays (for example ";IN=,8" to mean in 8
hours). The relative delay is from the time the command is
executed, NOT the time you think the job will log on. First
of all, the log on might not happen, because of the Job Limit,
Outfence, etc; second of all, there might be a delay before
getting to that command, because of logon UDCs and other
activities in the job itself.
o I suggest you use the system JCWs and "absolute scheduling" to
ensure that the job is scheduled to logon when you want it to.
For example:
IF HPTODAY = MONDAY THEN
STREAM myjob; DAY=TUESDAY; AT=21:00
ELSE
IF HPTODAY = TUESDAY THEN
STREAM myjob; DAY=WEDNESDAY; AT=21:00
etc.
When I was doing this stuff, I placed such a nested IF construct
into a special UDC that took the <jobname> and the <start time>
as parameters. The advantage here is that IF HPTODAY = FRIDAY,
I could skip the weekend and schedule the job for Monday. (I
also had a logon UDC that defined the days of the week).
Good luck & Happy Streaming.
Jon Cohen
HP Commercial Systems
|
|
|