[Info-vax] *.xml files - carriage return's go into file in VMS - how to remove CR's?
JF Mezei
jfmezei.spamnot at vaxination.ca
Fri Mar 27 11:48:41 EDT 2009
Your dir/full shows the file already has RAT=CR attribute. (carriage
return carriage control).
If it didn't have it, it would be a simple matter of doing SET
FILE/ATTRIB to enable RAT=CR and see RMS hide those end of line CRs for you.
One thing you could try:
SET FILE mumble.xml /ATTRIB=RAT=NONE
Edit it, and see if you now have 1 or 2 CRs at the end of the line.
then:
SET file mumble.xml /attrib=RAT=CR
and see if the CRs have magically disapeared.
It might help if you could describe how the files are created and how
they are transfered to the VMS system. It might be simpler to use a
binary raw data transfer, and then set the files' attribute to one of
the STREAM types (STMLC, STMR STREAM etc).
More information about the Info-vax
mailing list