![]() |
![]() HP OpenVMS Systemsask the wizard |
![]() |
The Question is: Question regarding Time Manipulation: I am trying to create a cmd procedure that will run a program and when that completes, submit multiple batch jobs an hour apart, without knowing the current time of the first job. EX: $ run abc $ submit a1.com/after=now $ submit a2.com/after=now+1 hour $ submit a3.com/after=now+2 hour I've played around with f$cvtime and found the RTL function lib$add_times, but was not successful. Any input would be appreciated. Thank you in advance for your time. The Answer is : $ now = f$element(0," ",f$time()) + ":" + f$element(1," ",f$time()) $ submit login.com $ submit login.com/after="''now'+0-1:0:0" $ submit login.com/after="''now'+0-1:0:0"
|