dcl script for backup

June 2, 2011 at 10:53:11
Specs: open VMS

i need a dcl script to automatically execute backup (normal) in a certain time of every day in Open VMS

See More: dcl script for backup

Report •

June 3, 2011 at 00:52:43
Put a SUBMIT command for itself in the command-file like that:

$ me = f$environment("PROCEDURE")
$ submit/after="TOMORROW+2" 'me'

to run the procedure the next day at 2:00h.

put the submit command at the begin of the procedure to run it regardless of successf.
Put it at the end, then it will be submitted only if there is no error.

Joseph Huber,

Report •

June 13, 2011 at 08:35:53
Hi Joseph,

Thank you very much for the script, if you have any more document regarding DCL script over vms pls send it to me at following mail address


surojit :)

Report •

June 13, 2011 at 23:07:00
The VMS documentation (HTML and PDF) is
"VMS users guide" and "DCL dictionary" especially.
Then there is always VMS HELP, for this case

In the above resubmit You may want to get the command-file specification without the version number (;ver): then You can edit the command-file one day and the new version will be submitted the next day instead of the version first submitted. Look at the f$parse() lexical function !

Joseph Huber,

Report •

Related Solutions

November 2, 2011 at 09:10:58
I need a similar script except I need it to run once a week, how would I do this?

Report •

November 3, 2011 at 10:45:45
use a combination time to submit at like
to submit one week later at 05:00h .

Joseph Huber

Report •

Ask Question