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

Simon Clubley clubley at remove_me.eisner.decus.org-Earth.UFP
Thu Feb 28 14:40:52 EST 2013


On 2013-02-28, Bill Gunshannon <billg999 at cs.uofs.edu> wrote:
> In article <kgo56t$bok$1 at dont-email.me>,
> 	Simon Clubley <clubley at remove_me.eisner.decus.org-Earth.UFP> writes:
>> 
>> 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.
>  
> I see this suggested often for various systems, but it really isn't
> "batch" it's just a normal job run in the background without any user
> interaction.  I am assuming that VMS did at one time (and maybe still
> does) support real BATCH QUEUES.  Yes?
>

I agree, it's not really batch but you get the same ability for a job on
one machine to automatically run a command or command procedure on another
machine.

It's also better than batch in some ways in that the ssh session will not
terminate until after the command has completed (successfully or otherwise)
so if you invoke the command procedure directly from ssh, you get built in
synchronisation between machines instead of having to work out when the
batch job on the target machine has terminated.

VMS does have proper batch queues, but you cannot submit jobs remotely to
them from a Unix box on a standard VMS system without using ssh to do it.

Simon.

-- 
Simon Clubley, clubley at remove_me.eisner.decus.org-Earth.UFP
Microsoft: Bringing you 1980s technology to a 21st century world



More information about the Info-vax mailing list