From: przemek@rrdstrad.nist.gov (Przemek Klosowski)
Subject: Changing record length of fixed record files
Date: 22 Sep 92 20:06:09 GMT [thread overview]
Message-ID: <PRZEMEK.92Sep22160609@rrdstrad.nist.gov> (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
next reply other threads:[~1992-09-22 20:06 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
1992-09-22 20:06 Przemek Klosowski [this message]
1992-09-23 14:04 ` Changing record length of fixed record files 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
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox