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

Bob Koehler koehler at eisner.nospam.encompasserve.org
Thu Feb 28 15:49:26 EST 2013


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.




More information about the Info-vax mailing list