Operating System - OpenVMS
1829575 Members
4030 Online
109992 Solutions
New Discussion

Re: RUnning Telnet in a DCL procedure

 
SOLVED
Go to solution
Stephen Daddona
Frequent Advisor

RUnning Telnet in a DCL procedure

I'd like to run Telnet in a DCL procedure, but I get the following when I try it:

$ telnet
%SYSTEM-W-NODEVAVL, no device available
%SMG-F-INVPAS_ID, invalid pasteboard-id

What I'm trying to do is have a DCL procedure that's run during system startup create a Telnet session that's connected to a DECserver 700 port:

$ telnet
create_session cmprm5 2015 8000 /permanent
exit

After the system is booted, I can create the telnet sessions.

Thanks in advance!
3 REPLIES 3
Bojan Nemec
Honored Contributor
Solution

Re: RUnning Telnet in a DCL procedure

Craig,

Use the command line qualifiers:

$ TELNET cmprm5 /CREATE_SESSION -
/PERMANENT 2015 8000


Bojan
Stephen Daddona
Frequent Advisor

Re: RUnning Telnet in a DCL procedure

That did it!


Thanks!
Stephen Daddona
Frequent Advisor

Re: RUnning Telnet in a DCL procedure

The first reply answered the question.