[Info-vax] RMS internals?

JF Mezei jfmezei.spamnot at vaxination.ca
Sat Aug 8 14:38:37 EDT 2009


OK, I need more info here.

You have files created on Windows. Transfered to VMS in some fashion,
but transfered in binary mode.

And you then want to write an application that can parse the file's
internal structure.

This may soun stupid, but what is wrong with doing standard file IO and
letting RMS parse the file ? This will give you your records and you
don't have to worry about whatever internal structure the file was
stored in.

Also, if, once in production, you always use the same type of file
transfer software, then the files on VMS will always be created the same
way.

For records that are too large to fit in the $GET buffer, if I remember
correctly, you can stecify that the rest of the record be provided in
the next SYS$GET call, or that it be truncated (lost).



More information about the Info-vax mailing list