From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,e97027eea06b1c52 X-Google-Attributes: gid1164f8,public From: SSparrow@gnn.com (Steven Sparrow) Subject: Re: Problem reading file via DECNET Date: 1995/12/16 Message-ID: <4avhgs$9gj@news-e1a.megaweb.com>#1/1 X-Deja-AN: 122029349 references: <49l77o$lsj@madeline.INS.CWRU.Edu> x-gnn-newsserver-posting-date: 16 Dec 1995 22:34:04 GMT content-type: text/plain; charset="us-ascii" organization: Megaweb mime-version: 1.0 newsgroups: comp.sys.dec x-mailer: GNNmessenger 1.2 In article <49l77o$lsj@madeline.INS.CWRU.Edu> Ray Muzic wrote: >Date: 30 Nov 1995 21:20:56 GMT >From: Ray Muzic >Newsgroups: comp.sys.dec >Subject: Problem reading file via DECNET > >>From a C program running on either a VAX/VMS or an ALPHA/VMS, I'd like >to read the first 16Kbytes of some files. Some of the files exist on >a Sun/Sparc and some exist on another VAX/VMS system. All accesses >are done via DECNET. The program is able to open the data files >on either system. >I also tried to access the file from DCL. I was able to open it >(open/share/read), but was not able to read data from the file. > >Suggestions? >Has anybody had success in reading SUN files across DECNET? > >Ray Muzic >rfm2@po.cwru.edu If you get the following, I can show you how to fix it: $ Open/share/read file remote::file.dat $ read/nolock/end=close file record %RMS-F-BUFSIZ, 644 byte record is too big for users buffer. Fix: $ SET RMS_DEFAULT/NETWORK=24 !the default is 3, Max is 24. $ !I got this info from DEC support. $ Open/share/read file remote::file.dat $ read/nolock/end=close file record $ !success ======================================== Steve Sparrow @ Computer Sciences Corporation