Operating System - OpenVMS
cancel
Showing results for 
Search instead for 
Did you mean: 

Problems Running a TCPIP Service

 
SOLVED
Go to solution
Highlighted
Steven Schweda
Honored Contributor

Re: Problems Running a TCPIP Service

> %SET-W-NOTSET, error modifying $1$DGA481:
> -SET-E-INVDEV, device is invalid for requested operation

This looks like a [SY]LOGIN.COM trying to do
a SET TERMINAL command in a non-interactive
job, where the "terminal" is a disk (file).
As "HELP SET TERMINAL Parameter" says:

device-name[:]

Specifies the device name of the terminal. The default is
SYS$COMMAND if that device is a terminal. If the device is not
a terminal, an error message is displayed.

In a non-interactive job (often a batch job),
you get an error like this. The usual cure
is some conditionality on the SET TERMINAL
command, like, say:

[...]
$ IF (F$MODE() .EQS. "INTERACTIVE")
$ THEN
$ IF (F$GETDVI( "TT:", "DEVCLASS") .EQ. 66)
$ THEN
$ SET TERMINAL /INQUIRE /INSERT
[...]

To see the details, stick in some kind of
"SHOW LOGICAL SYS$COMMAND" where you can see
its output.