![]() |
![]() HP OpenVMS Systemsask the wizard |
![]() |
The Question is: Hi, I'm looking for 2 things: 1. Is there a possibility to let VMS automatically change the time on MEST (middle european summer time) like Unix does with the tztab entry? 2. How do I start a periodic batch job which is scheduled once a week automatically like a cron-command in unix? If it is "submit" what is the syntax? The Answer is : :1. Is there a possibility to let VMS automatically change the time on MEST :(middle european summer time) like Unix does with the tztab entry? OpenVMS does not use UTC as the native format saved in the system clock, the time used is the current time. Changing the timezone on UNIX is rather different, as one need only switch the timezone used for the calculation of the displayed time value. For information on how to manage daylight savings time on OpenVMS, please see SYS$EXAMPLES:DAYLIGHT_SAVINGS.COM for assistance. :2. How do I start a periodic batch job which is scheduled once a week :automatically like a cron-command in unix? If it is "submit" what is the :syntax? Here is an example: $ Set NoOn $ $ mynameis = f$environment("PROCEDURE") $ goto 'f$mode()' $ $INTERACTIVE: $OTHER: $ SUBMIT 'mynameis' - /AFTER="TOMORROW+18:00"/NOPRINT/KEEP/PARAM=("''p1'") - /LOG_File={logname}/NAME={jobname} $ Exit $ $NETWORK: $BATCH: $ $ SUBMIT 'mynameis' - /AFTER="TOMORROW+18:00"/NOPRINT/KEEP - /LOG_File={logname}/NAME={jobname} $ PURGE {logname}/KEEP=14 $ ... perform task(s) ... $ Exit
|