From: utzoo!decvax!ucbvax!info-vax
Newsgroups: fa.info-vax
Title: RE: Command Procs, files, & DECnet
Article-I.D.: ucbvax.985
Posted: Sun Feb 27 18:22:33 1983
Received: Mon Feb 28 01:03:15 1983

>From GEOFF@SRI-CSL  Sun Feb 27 18:20:44 1983
Received: by UCBVAX.ARPA (3.314/3.5)
	id AA04286; 27 Feb 83 18:21:53 PST (Sun)
Mail-From: ARPANET host SANDIA rcvd at 31-Dec-82 1514-PST
Mail-From: ARPANET site MIT-MC rcvd at 31-Dec-82 1617-MST
To: SFH@CMU-CS-C
Cc: info-vax@MIT-MC
In-Reply-To: 821129180751SFH@CMU-CS-C
Remailed-Date: 27 Feb 1983 0857-PST
Remailed-From: the tty of Geoffrey S. Goodfellow  
Remailed-To: Info-VAX@SRI-CSL.ARPA: ;

I can see no logical way to use open/write/close statements alone and short of
writting a program which obviously could prepare an appropriate file do not
understand what you mean by creating the file via DECnet?  According to the 
DECnet-VAX Cross Systems Guide CREATE ought to work over DECnet to a DECnet-20
node and produce a Stream format version of the input data.  If you must use
DCL and do not need dynamic access then either of:

	OPEN/WRITE dcl dcl.dat		OPEN/WRITE dcl dcl.dat
	WRITE dcl			WRITE dcl
	...				...
	CLOSE dcl			CLOSE dcl
	CREATE junk.TXT			CONVERT/FDL=STM.FDL DCL.DAT DCL.OUT
	^Z				(With an appropriate FDLfile.)
	APPEND dcl.dat junk.txt
	COPY junk.txt TOP_20_NODE::...	COPY dcl.out TOP_20_NODE::...


should move the file.
 
-------