1828036 Members
1920 Online
109973 Solutions
New Discussion

Re: batch files

 
Edojan
New Member

batch files

Hi

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 ...

thanks!
4 REPLIES 4
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

Edojan,

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, http://www.rlgsc.com
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" http://www.amazon.com/Writing-Real-Programs-DCL-Technologies/dp/1555581919 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.

Andy

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 http://www.openvms.org/ and look at the opensource and freeware links.
it depends