Showing results for 
Search instead for 
Did you mean: 

batch files

Occasional Visitor

batch files


Is there a place where i can get sample batch files and also is there anyone here that uses UDMS reporting system? its for VMS ...

Steven Schweda
Honored Contributor

Re: batch files

Almost any DCL command procedure can be
submitted as a batch job (although some will
be more successful than others). For what
kinds of things are you looking?
Robert Gezelter
Honored Contributor

Re: batch files


Batch files are nothing more than command files. The most common error when submitting a command file through batch is that the batch job starts in the login default directory.

I therefore often have a shell batch file that does nothing but change directories and invoke the actual command file.

One could also engineer some intelligence into the command file itself to deal with that situation, but one must be careful. The shell batch job is generally a better choice.

- Bob Gezelter,
Andy Bustamante
Honored Contributor

Re: batch files

Look in sys$examples: for command files.

You may also want to consider looking for a copy of "Writing Real Programs in DCL" bye Steve Hoffman and Paul Anagnostopoulos. Look for the second edition, it's out of print but can still be found and is an excellent introduction to DCL.


If you don't have time to do it right, when will you have time to do it over? Reach me at first_name + "." + last_name at sysmanager net
Jon Pinkley
Honored Contributor

Re: batch files

Take a look at the VMS User's guide. It has several chapters about DCL command procedures and is available for download from hp.

Also, go to and look at the opensource and freeware links.
it depends