[an error occurred while processing this directive]

HP OpenVMS Systems

ask the wizard
Content starts here

SET HOST in command procedure?

» close window

The Question is:

 
Hi Wizard...
 
I have a modem attached to a DEC server and setup as a dialout modem for my
VMS machine. I have setup a LAT port that connects to this modem via service
setup on DEC server.
 
When I conect to this modem using "set host/lat" and then dial our loca X25
network I can connect successfully and al is working fine. But if I try and
script this procedure, it just does not work very well from DCL. Modem
command is executed and the rest
 of the responses are just ignored.
 
Script looks like this:
 
$ set h/lat lta100
atdt1,1745
usernamepassword-95003459
......
 
The part where I need to enter username and password for x25 access is
completelly ignored and the lines after that are skiped as well.
 
Is there any way I can script this using just the DCL? I would appretiate
any sugestion to get arround this problem.
 
Cheers, Nedo
 
 
 


The Answer is :

 
  SET HOST commands generally do not operate within a DCL command
  procedures -- one approach involves the use of pseudo-terminals.
  As for why this wasn't done, the system has no way of knowing (in
  the general case) when a read is outstanding from the remote system,
  and things can thus get hopelessly complex and snarled.

answer written or last revised on ( 19-NOV-1999 )

» close window