From: utzoo!decvax!harpo!eagle!mhtsa!alice!ucbvax!info-vax
Newsgroups: fa.info-vax
Title: Help??
Article-I.D.: ucbvax.8269
Posted: Thu Aug 12 11:48:16 1982
Received: Sun Aug 15 03:46:46 1982

>From CLUSER.JFW@MIT-XX Thu Aug 12 11:47:14 1982
I have a (probably stupid) VMS question, which I cannot seem to find the answer
to in the manuals.  I have a MACRO program which simply wants to write to the 
user's terminal.  In a completely cookbook manner, I have an ASCID string
whose contents are SYS$OUTPUT, I call $TRNLOG_S to get the True Name of the
terminal into a buffer, and then I call $ASSGN_S to assign a channel.  $ASSGN_S
returns the error %SYSTEM-F-IVDEVNAM, invalid device name.  Using the library
procedure LIB$PUT_OUTPUT, it tells me that the device name is
"_OPA0:", which is the correct thing (This is done from the console of a single
user machine).  The code, as I said, is stolen character-for-characcter from
two different VMS Manual examples (such as they are).  What is going on?
Thanks for your patience and assistance.
	-John Woods, CLUSER.JFW @ MIT-XX
-------