Operating System - OpenVMS
1748226 Members
4618 Online
108759 Solutions
New Discussion юеВ

Re: Execute a DCL script from Linux to OpenVMS

 
SOLVED
Go to solution
smsc_1
Regular Advisor

Execute a DCL script from Linux to OpenVMS

 

Dear community,
is there a way to remotely run a DCL script from Linux (red hat enterprise) to OpenVMS?
 
Shall I use rexec or rsh on Linux?


Many thanks!

./ Lucas
4 REPLIES 4
smsc_1
Regular Advisor

Re: Execute a DCL script from Linux to OpenVMS

 

WOPS! Sorry... After sent the message, I found a simple solution. I report it here just in case someone need it:

 

# rexec -l system -p 123456 10.99.1.100 "@test.com"

 

It works fine. BTW, if u have any other methods, you're welcome! ;)

   

./ Lucas
Steven Schweda
Honored Contributor
Solution

Re: Execute a DCL script from Linux to OpenVMS

 
smsc_1
Regular Advisor

Re: Execute a DCL script from Linux to OpenVMS

 

Thanks for your feedback Steven,

in my script I don't use the SYSTEM account, but a specific "limited" user created ad hoc on OpenVMS!

BTW, I'll use SSH with pub/private key so the command can be executed without password exchange.

 

 

  

./ Lucas
Ph Vouters
Valued Contributor

Re: Execute a DCL script from Linux to OpenVMS

Lucas,

 

You also have such kind of a solution. It has been tested between Linux and Windows as well as between Linux and OpenVMS in both ways.

http://vouters.dyndns.org/tima/All-OS-FTP-Perl-Remotely_executing_a_script.html

 

This is if you eventually feel interested with.

Regards,

Philippe