Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
* Changing record length of fixed record files
@ 1992-09-22 20:06 Przemek Klosowski
  1992-09-23 14:04 ` Dave Cantor
  1992-09-29 19:00 ` Changing record length of fixed record files (SUMMARY) Przemek Klosowski
  0 siblings, 2 replies; 5+ messages in thread
From: Przemek Klosowski @ 1992-09-22 20:06 UTC (permalink / raw)



Hello!

I am working on a problem that involves exchanging files between VMS
and Ultrix computers.  The data file is fixed record/320 byte on VMS
side; I copy it over to Ultrix, massage gently and send back to VMS
using binary mode (actually I open pipe to dcp -i if it matters).
Unfortunately, the file appears on the VMS side as fixed record/512
byte file, which does not do.

I was told by DEC telephone support that dcp is the only supported
DECnet tool between VMS and Ultrix, and it does not seem to allow
setting the VMS RMS parameters.  I therefore assume that I can't
transfer the file so that it ends up in the correct 320 byte record
length. Does anyone have better ideas for executing this transfer?

I have control over the FORTRAN program that reads the data on the VMS
side. Ideally, I would like to INQUIRE about the record length, and if
it is 512 (meaning that this particular file was received from
outside), I would like to change the record length.  I am able to do
this using the FILE utility from DCL; what I would like to do is to
change it on the fly from my program (code fragment to do that would
be appreciated)

I included comp.sys.dec in the distribution in a hope that maybe
someone could suggest another method of transferring the file that
would result in a correct VMS format, making the manipulations in the
above paragraph unnecessary.

Thank you for your help


--
			przemek klosowski (przemek@rrdstrad.nist.gov)
			Reactor Division (bldg. 235), E111
			National Institute of Standards and Technology
			Gaithersburg, MD 20899,      USA

			(301) 975 6249


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~1992-09-29 19:00 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1992-09-22 20:06 Changing record length of fixed record files Przemek Klosowski
1992-09-23 14:04 ` Dave Cantor
1992-09-23 15:16   ` Bill Parke
1992-09-24  1:17     ` Blair Phillips - Digital
1992-09-29 19:00 ` Changing record length of fixed record files (SUMMARY) Przemek Klosowski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox