[an error occurred while processing this directive]

HP OpenVMS Systems

ask the wizard
Content starts here

SET HOST in DCL command file?

» close window

The Question is:

 
Hi,
 
When I connect to another host in my command file, I got some problems.
 
Below is the DCL I put in the file:
 
$ SET HOST xxx
username
password
...
 
The system gives the error:
 
$ SET HOST xxx
%REM-F-NOTERM, command device is not a terminal
%DCL-W-SKPDAT, image data (records not beginning with "$") ignored
 
Does it mean I cannot include the username and password in the command file? I
 also try to include the login information in /username and /password in SET
 HOST/RLOGIN. But the system said that '/password' is not a valid argument.
 Although I find it in the
 online help.
 
Thanks for your help.
Regards.
 
 


The Answer is :

 
  This particular sequence is expressly prohibited by the SET HOST command.
  (Input -- data or DCL commands -- from the command file and particularly
  the username and password are not passed along to the remote end of the
  DECnet SET HOST connection.)
 
  For alternative approaches to the specifics-left-unstated problem here,
  please see the OpenVMS FAQ and please see the discussions of DCL DECnet
  task-to-task communication here in the Ask The Wizard area.
 

answer written or last revised on ( 18-DEC-2000 )

» close window