[Info-vax] how to write openvms commands in .sh file through openvms

Jan-Erik Soderholm jan-erik.soderholm at telia.com
Thu Feb 28 16:04:11 EST 2013


Bob Koehler wrote 2013-02-28 21:49:
> In article <kgo56t$bok$1 at dont-email.me>, Simon Clubley <clubley at remove_me.eisner.decus.org-Earth.UFP> writes:
>>
>> Where is the VMS API which would allow you to submit a batch job directly
>> from a Unix box without having to log into the VMS box interactively first ?
>
>     Why should VMS put an API on your UNIX system?  And how?
>
>     Starting a job on a remote system without having to exchange
>     security credentials in a whopping big security hole.
>
>> The closest you are going to get to running commands remotely on a standard
>> VMS system is to use the ability of ssh (assuming both initiating and target
>> TCP/IP stacks support it) to run a command directly without needing a full
>> interactive session.
>
>     Nope.  For example, some VMS FTP servers will allow you to use a site
>     command to send a DCL command to VMS, which could run a script.  Of
>     course, you do have to do an FTP log in first.
>
>     Also, rlogin may be supported.  Typical rlogin clients have a mode to
>     allow you to send one command.
>
>     And you can start DCL commands on a VMS system via DECnet, which is
>     widely available for UNIX systems.
>
>     But for security sake, that SSH hook is probably the best way to go.
>     And you can probably use security credentials that don't require an
>     explicit username and password.
>

I/we use a REXEC from JCL on a MVS mainframe to remotely submit
(real) batch jobs on our VMS server. Has worked for 12+ years
in production use now.

A rexec client on any platform shuld be able to do the same.

Jan-Erik.





More information about the Info-vax mailing list