mcguffey@muvms3.bitnet (Michael McGuffey) (12/02/89)
I'm trying to get the decnet "task=" to work from an Ultrix node to a VMS node. The following is the command I'm using (although I've tried every combination of node/directory/quote marks I know): quayle %73 > dcp - muvms3::'task=decw_server' The following is the error I'm getting: dcp: can't create "muvms3::task=decw_server", Unspecified access error File Open, filename syntax error. My goal is to be able to (from the Ultrix node) run a .COM file on a VMS node that will open DECterm and application DECwindows on the Ultrix node. I'm currently logging in to the VMS machine to activate the .COM files. The Ultrix node is a DS3100 w/DECnet installed The VMS nodes vary from a VS3100 to a 6000-430. All nodes have the same result. thanks, -- michael ----------------------------------------------------------------------- Michael McGuffey, Senior Software Applications Analyst Phone: 304/696-3212 University Computer Center FAX: 304/696-3601 Marshall University BITNET: mcguffey@muvms1 Huntington, WV 25755-5320 Internet: mcguffey%muvms3@wvnvms.wvnet.edu
michaud@decvax.dec.com (Jeff Michaud) (12/05/89)
> I'm trying to get the decnet "task=" to work from an Ultrix node > to a VMS node. > > quayle %73 > dcp - muvms3::'task=decw_server' Sorry, the node::"0=taskname" convention is a RMS-32ism on VMS. You are going to have to write a small C program to do the equiv. For example: #include <stdio.h> #include <sys/types.h> #include <netdnet/dn.h> main(argc, argv) int argc; char *argv[]; { int sock; char str[128]; sock = dnet_conn( argv[1], argv[2], SOCK_SEQPACKET, (u_char *)0, 0, (u_char *)0, (int *)0); if( sock < 0 ) { nerror(argv[1]); exit(1); } while( gets(str) != NULL ) write(sock, str, strlen(str)); /* now wait for server side to close connection */ while( read(sock, str, 1) > 0 ) ; close(sock); exit(0); } (ignore the use of gets() and the lack of checking the arg list and ...) > My goal is to be able to (from the Ultrix node) run a .COM file on > a VMS node that will open DECterm and application DECwindows on the > Ultrix node. I'm currently logging in to the VMS machine to activate > the .COM files. You may want to look at "dcp -S" which may do enough of what you want that you won't have to write any code. /--------------------------------------------------------------\ |Jeff Michaud michaud@decwrl.dec.com michaud@decvax.dec.com| |DECnet-ULTRIX #include <standard/disclaimer.h> | \--------------------------------------------------------------/