All:
Do a little scripting at the end of the stream job. Determine the
current hour and add on then use the new hour to schedule the job again.
Olav.
Bob McGregor wrote:
>I think you can do the same thing with the MPE stream command as referenced below or do a
>help stream
>to determine parameters.
>
>
>On Friday, September 30, 2005 2:46 AM, Tony Summers <[log in to unmask]> wrote:
>
>
>>1) Buy a third party scheduler
>>2) Write a small program that STREAMs the job every hour and have that
>>job run 24*7.
>>3) Have the job self-stream itself - example below
>>
>>Example of #3 follows - this job streams itself to run every hour until
>>5pm. (It doesn't run exactly every hour - so the first time it runs at
>>6am, then it might run at 7:05am 8:06am etc )
>>
>>S:print sunfday.job.swims
>>!JOB SUNFDAY,JOB.SWIMS;SPSAVE;OUTCLASS=LP,1;PRI=CS
>>!#
>>!#Crest automatch program
>>!#
>>
>><clip>
>>
>>!
>>! IF HPHOUR < 17
>>! STREAMX SUNFDAY.JOB.SWIMS,;"IN=,,60"
>>! ENDIF
>>
>>!EOJ
>>
>>-----Original Message-----
>>From: HP-3000 Systems Discussion [mailto:[log in to unmask]] On
>>Behalf Of Harpreet SINGH
>>Sent: 30 September 2005 09:22
>>To: [log in to unmask]
>>Subject: [HP3000-L] How to schedule a job on Hourly basis.
>>
>>Dear All,
>>
>>How to schedule a job on Hourly basis.
>>
>>Not sure how to use this syntax.
>>
>>COMMENT ******* STREAM MONDAY.JOBS
>>COMMENT
>>SCHEDULE "AT=16:30;REPEAT=MON", & (CAN I use REPEAT = HOUR or HOURLY)
>> "MONDAY,{HPUSER}.{HPACCOUNT},JOBS;OUTCLASS=,1;HIPRI" , &
>> MANY *COMMENT SET STDLIST=DELETE *STREAM MONDAY.JOBS
>>COMMENT
>>COMMENT
>>
>>I have some work around but would like to schedule by the above job
>>daily
>>schedule job
>>
>>Please advise.
>>
>>With Warm Regards
>>=-=-=-=-=-=-=-=-=-=-=-
>>Harpreet Singh Chana
>>
>>Phone : (O) 6895 - 4326
>>Fax : (O) 6895 - 4991
>>
>>
>>Notice
>>The information in this message is confidential and may be legally
>>privileged. It is intended solely for the addressee. Access to this
>>message by anyone else is unauthorized. If you are not the intended
>>recipient, any disclosure, copying or distribution of the message, or
>>any action taken by you in reliance on it, is prohibited and may be
>>unlawful. If you have received this message in error, please delete it
>>and contact the sender immediately. Thank you.
>>
>>* To join/leave the list, search archives, change list settings, *
>>* etc., please visit
>>http://raven.utc.edu/archives/hp3000-l.html *
>>
>>______________________________________________________________________
>>This email has been scanned by the MessageLabs Email Security System.
>>For more information please visit http://www.messagelabs.com/email
>>______________________________________________________________________
>>
>>
>>The contents of this email are confidential to the intended recipient
>>and may not be disclosed. Although it is believed that this email and
>>any attachments are virus free, it is the responsibility of the
>>recipient to confirm this.
>>
>>Smith & Williamson Corporate Finance Limited - A member of the London Stock Exchange.
>>A member of M&A International Inc. http://www.mergers.net
>>Registered in England No. 4533970. Authorised and regulated by
>>the Financial Services Authority
>>Smith & Williamson Investment Management Limited, Registered
>>No. 976145. Authorised and regulated by the Financial Services Authority.
>>Smith & Williamson Pension Consultancy Limited - Independent
>>Intermediary. Registered No. 3133226. Authorised and regulated
>>by the Financial Services Authority.
>>Smith & Williamson Fund Administration Limited, Registered No.
>>1934644. Authorised and regulated by the Financial Services Authority.
>>Smith & Williamson Limited - A member of Nexia International.
>>Registered in England No. 4534022. Regulated by the Institute
>>of Chartered Accountants in England & Wales for a range of investment business activities.
>>NCL Investments Limited, Registered No. 1913794.
>>Member of the London Stock Exchange authorised and regulated by
>>the Financial Services Authority.
>>
>>Registered Office: 25 Moorgate, London EC2R 6AY
>>Telephone: 020 7131 4000 http://www.smith.williamson.co.uk
>>
>>Nexia Audit Limited - A member of Nexia International. Registered in
>>England No. 4469576. Registered to carry on audit work and
>>regulated by the Institute of Chartered Accountants in England
>>& Wales for a range of investment business activities.
>>
>>Registered Office: 25 Moorgate, London EC2R 6AY
>>Telephone: 020 7131 4000 http://www.nexiaaudit.co.uk
>>
>>
>>______________________________________________________________________
>>This email has been scanned by the MessageLabs Email Security System.
>>For more information please visit http://www.messagelabs.com/email
>>______________________________________________________________________
>>
>>* To join/leave the list, search archives, change list settings, *
>>* etc., please visit
>>http://raven.utc.edu/archives/hp3000-l.html *
>>
>>
>>
>
>* To join/leave the list, search archives, change list settings, *
>* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
>
>
>
>
* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
|