[Info-vax] how to write openvms commands in .sh file through openvms
MG
marcogbNO at SPAMxs4all.nl
Thu Feb 28 08:03:58 EST 2013
On 28-feb-2013 8:24, kevinparker124 at gmail.com wrote:
> I have couple of openvms commands which i have to run through
> openvms by using .sh file...means all the commands i have to
> put it into that .sh file.
Do you mean procedures/shell scripts in general or are you
specifically seeking out UNIX shell scripting?
The most realistic choices, as far as DCL procedures and UNIX
shell scripts go: Native DCL (Digital Command Language) to VMS,
which are --- as you may or may not know --- commonly saved with
the .COM file extension. Whereas UNIX shell, like the Bourne
Again Shell (bash) as provided with GNV? I would personally go
for the native approach, thus with DCL.
Executing a DCL script is done with the usual syntax, e.g.:
$ @my_procedure.COM
For GNV, read the release notes of the specific release of
the GNV kit. (They should be provided as PCSI installation
kits.) For DCL, look up the DCL dictionary and other manuals
and types of documentation at HP, OpenVMS.org (many examples)
and so forth.
- MG
More information about the Info-vax
mailing list