HPE Community read-only access December 15, 2018
This is a maintenance upgrade. You will be able to read articles and posts, but not post or reply.
Hours:
Dec 15, 4:00 am to 10:00 am UTC
Dec 14, 10:00 pm CST to Dec 15, 4:00 am CST
Dec 14, 8:00 pm PST to Dec 15, 2:00 am PST
cancel
Showing results for 
Search instead for 
Did you mean: 

batch files

 
Edojan
Occasional Visitor

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