To close the loop on this, I ended up using 

pax -wvzf /u/directory/myarchive.pax -x os390 *

on the sending end, FTP STREAM/IMAGE, and

pax -rvf myarchive.pax

and CHOWN in some cases on the receiving end. Seems to have worked like a
champ. As I had guessed, FTP was super fast. I did not write down what it
said but I think it was 40MB/second. The -v in there is not necessary but I
found it reassuring to see all the filenames fly by. Without the -x os390 I
got some "unsupported tag" messages. Don't know if it would have been an
actual problem, but -x os390 made the messages go away.

I eschewed the use of SSH because I am not super familiar with it and did
not want another variable. The negative of my method of course is disk
space: you need room for an additional 25% to 50% in the zFS file system,
beyond the actual files being moved.

Charles


-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[email protected]] On
Behalf Of Charles Mills
Sent: Wednesday, October 28, 2020 9:52 AM
To: [email protected]
Subject: How best to copy all UNIX files one z/OS to another

I have two z/OS systems joined by a real fast TCP connection. (They're
actually two guests on the same VM, but seeing as how I have relatively
little knowledge or authority on the VM side of things it may be simpler to
just think of them as two adjacent machines.) This is the IBM Dallas
"Innovation Center," FWIW.

 

What would be the best way of replicating all of the "user" UNIX files from
one to the other? I can of course identify the "user" files by their highest
directory name. I want to propagate all of the permissions and so forth. Is
there a good way to do that?

 

FWIW I have complete authority on the z/OS machines; I can run SPECIAL
and/or OPERATIONS if necessary.

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to