Operating System - OpenVMS
1753479 Members
5156 Online
108794 Solutions
New Discussion юеВ

Re: FTP from DOS to Alpha VMS a File Containing CRLF

 
SOLVED
Go to solution
Ataikili
Frequent Advisor

Re: FTP from DOS to Alpha VMS a File Containing CRLF

Mr. Hein
Your example ;

$ crlf = f$fao("!/")
$ create/fdl=nl: test.tmp ! FDL is optional really, all defaults applied
$ open/write test test.tmp
$ write test "EUROPA",crlf,"AFRICA"
$ write test "AMERICA"
$ close test
$ type test.tmp
EUROPA
AFRICA
AMERICA

shows(with EDIT) the file exactly what i need.
And i ned that can you modify your dcl script
according to that
i read the file to end of it and wrote it to a new one
Ataikili
Frequent Advisor

Re: FTP from DOS to Alpha VMS a File Containing CRLF

AND Record format for test.tmp shown VCF but original rms file's is variable lenght.
it is not a problem i think isnt it ?
Ataikili
Frequent Advisor

Re: FTP from DOS to Alpha VMS a File Containing CRLF

I cant find a solution !!!