|
RMS uses several different file formats -- try a DIRECTORY/FULL and
a DUMP of the file format being used, and you'll probably find it is
using a variable format. Several different RMS variable formats exist,
including one with two bytes of record length, followed by the record
data -- a PC application could conceivably be coded to generate this
format directly. (It's not likely a native PC format.)
As for transfering data and having it translate into the necessary
RMS format, there are ways to escape imbedded data such as control
characters, but these generally take some sort of post-processing to
revert to the expected value. (Perl would be a good choice here...)
Alternatively, have the PC application pass the data up to the host
via the network, and have the OpenVMS system write the data to the
file in the appropriate format. (Sharing the internals of file
formats between two operating systems can be quite problematic.)
|