HP OpenVMS Systemsask the wizard |
The Question is: Using UCX, I need to provide a telnet service into VMS on a port other than 23. I would like the existing port 23 to continue functioning and set up another service. It seems that I can't simply create a command file which executes $SET HOST 0 or $TELNET 0. Is there a telnet executable that I can execute out of the command file? Thanks, Jerry The Answer is : Set up a symbol for the required Telnet command? Telnet and SET HOST are generally (deliberately) prevented from operating from within a command file for security reasons -- one of the few approaches to circumvent this restriction involves the use of pseudo-terminals. Both Telnet and SET HOST are intended for interactive use, and not for non-interactive (batch) operations -- there are many other approaches for remote (batch) operations, ranging from create an application that directly reads and writes messages using the Telnet protocol, to DECnet task-to-task (DCL- or program-based), to DQS, to SUBMIT/REMOTE, to rexec/rsh, and there are various other alternatives as well... The appropriate solution depends greatly on the details of the particular problem, which is rather difficult to infer from the proposed solution...
|