1828390 Members
3581 Online
109977 Solutions
New Discussion

Transferring files

 
SOLVED
Go to solution
Prasad_33
Occasional Contributor

Transferring files

Need to transfer files from OpenVMS version 6 to VMS version 5.5

Ftp screws up the files and cannot use "set file/attribute" command as it is not available on VMS 5.5

please let me know if there is an alternative other than backing up on tape and transferring the files
8 REPLIES 8
David B Sneddon
Honored Contributor
Solution

Re: Transferring files

Prasad,

Any reason you can't use DECnet?
You can ZIP the files (using -V to preserve the
VMS attributes) then FTP the ZIP file.
You could try C-Kermit from
http://www.columbia.edu/kermit/ck80binaries.html

Dave
Antoniov.
Honored Contributor

Re: Transferring files

Hi Prasad,
welcome to VMS world.

If your servers are both connected on the same physical network, the simplest way is DecNet.
I guess DecNet is already running so you can type on both server follw command
$ MC NCP SH EXEC
and report result to us.
Warning: dollar symbol is conevntional way to say DCL command, you don't type it.

Antonio Vigliotti

Antonio Maria Vigliotti
Wim Van den Wyngaert
Honored Contributor

Re: Transferring files

Make a backup to disk (save set) and ftp the save set as binary. Then restore the files from the save set.

Wim
Wim
Jan van den Ende
Honored Contributor

Re: Transferring files

Wim,


Make a backup to disk (save set) and ftp the save set as binary. Then restore the files from the save set.



It is just THAT sequence of events that needs SET FILE/ATTRIB !

Prasad:
I am not sure what "scres up" implies.

Did you transfer your binary files
TYPE BINARY and your text files
TYPE ASCI ?

If you intend to transfer indexed files, then I think you are limited to DECnet.

(what IP stacks are you using? _IF_ your IP on both sides supports it, they CAN agree upon VMS-VMS transfer, which also transfers, and restores, the file header. I doubt if that was already available under 5.5)

Proost.

Have one on me.

jpe
Don't rust yours pelled jacker to fine doll missed aches.
Wim Van den Wyngaert
Honored Contributor

Re: Transferring files

Jan, it all depends on what the IP stack is doing (version 2 ?). It's just a possibility that might work.

Wim
Wim
Doug Phillips
Trusted Contributor

Re: Transferring files

Take a look at this:

http://vms.process.com/scripts/fileserv/fileserv.com?FILE

FILE is what we used before $set file/attrib existed.

Don't know if the included .exe runs on 5.5 but the C source is provided.
Prasad_33
Occasional Contributor

Re: Transferring files

Hi,

First of all, thanks everyone for your quick responses.

Our servers are not connected and so I couldn't use DecNet.

The saveset doesn't work. Once we ftp the saveset, it takes the default size of 512 and we cannot extract the saveset - even with the BINARY attrib for Binary files and ASCII for text.

BUT, zip did work perfectly.
David's right on target when he suggested using zip â -Vâ

Thanks everyone for their suggestions.
Prasad_33
Occasional Contributor

Re: Transferring files

Thanks everyone.