From:	CSBVAX::MRGATE!LEICHTER@VENUS.YCC.YALE.EDU@SMTP 24-FEB-1988 18:06
To:	ARISIA::EVERHART
Subj:	Re: Can't access big records via DECnet


Received: from VENUS (YALE-ENG-VENUS.ARPA.#Internet) by KL.SRI.COM with TCP; Fri 19 Feb 88 14:38:16-PST
Date: Fri, 19 Feb 88 17:45 EST
From: "Jerry Leichter (LEICHTER-JERRY@CS.YALE.EDU)"
 <LEICHTER@VENUS.YCC.YALE.EDU>
Subject: Re: Can't access big records via DECnet
To: mitch@tcgould.tn.cornell.edu, sandrock@uxc.cso.uiuc.edu, INFO-VAX@KL.SRI.COM
X-VMS-To: 
 IN%"mitch@tcgould.tn.cornell.edu",IN%"sandrock@uxc.cso.uiuc.edu",INFOVAX

	In article <195600003@uxc.cso.uiuc.edu> sandrock@uxc.cso.uiuc.edu
	writes:
	   It seems that if I access a data file with records larger than 4096
	   bytes from a FORTRAN program via DECnet (i.e. FAL) that the RMS
	   error "Record too large for user's buffer" is returned. This only
	   happens when the access is via DECnet; local access of course works
	   fine....

	Please post if you have any information concerning this.  I am
	experiencing the same trouble.

RTFM (but see below)!  From the RMS Reference Manual, Section 5.22 (documenta-
tion of the FAB$W_MRS - Maximum Record Size - field):

	For DECnet remote file access, the maximum record size is set by
	using the /NETWORK_BLOCK_COUNT=n qualifier to the SET RMS_DEFAULT
	command.  DECnet remote file access can have record sizes as large
	as RMS supports.  [N.B., this discussion appears after a table of
	maximum record sizes for different file organizations and record
	formats.]  The default number of blocks is equal to the SYSGEN
	parameter RMS_DFNBC, the default for which is 8 blocks (4096
	bytes)....

I'll admit I started off looking in the wrong manual - the Guide To Network-
ing.  It pointed me to the Guide To File Applications, which then pointed me
rather quickly to where, in hindsight, I should clearly have looked to begin
with.
							-- Jerry
