Re: How best to copy all UNIX files one z/OS to another

2020-11-06 Thread kekronbekron
A fellow wombat fan! - KB ‐‐‐ Original Message ‐‐‐ On Saturday, November 7, 2020 3:54 AM, Paul Gilmartin <000433f07816-dmarc-requ...@listserv.ua.edu> wrote: > On Fri, 6 Nov 2020 13:44:08 -0800, Charles Mills wrote: > > > > Why use "*" (which caused you problems previously) rather

Re: How best to copy all UNIX files one z/OS to another

2020-11-06 Thread Paul Gilmartin
On Fri, 6 Nov 2020 13:44:08 -0800, Charles Mills wrote: >> Why use "*" (which caused you problems previously) rather than "." > >Not clear on the difference. See "not a UNIX professional." Did * cause me >problems? I thought it was a file named -x that caused the problems. Deleting >the file

Re: How best to copy all UNIX files one z/OS to another

2020-11-06 Thread Charles Mills
IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of Paul Gilmartin Sent: Friday, November 6, 2020 12:44 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: How best to copy all UNIX files one z/OS to another On Fri, 6 Nov 2020 10:58:46 -0800, Charles Mills wrote: >To close

Re: How best to copy all UNIX files one z/OS to another

2020-11-06 Thread Paul Gilmartin
On Fri, 6 Nov 2020 10:58:46 -0800, Charles Mills wrote: >To close the loop on this, I ended up using >pax -wvzf /u/directory/myarchive.pax -x os390 * > Why use "*" (which caused you problems previously) rather than "." One hazard might be that the archive file lies within the hierarchy being

Re: How best to copy all UNIX files one z/OS to another

2020-11-06 Thread Charles Mills
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of Charles Mills Sent: Wednesday, October 28, 2020 9:52 AM To: IBM-MAIN@LISTSERV.UA.EDU 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'r

Re: How best to copy all UNIX files one z/OS to another

2020-10-29 Thread kekronbekron
True, don't know what I was thinking :) Shouldn't have started w/ pax. Wanted to say, unmount, DFDSS, etc. Anyway, if there are easier ways.. - KB ‐‐‐ Original Message ‐‐‐ On Thursday, October 29, 2020 7:21 PM, Paul Gilmartin <000433f07816-dmarc-requ...@listserv.ua.edu> wrote: >

Re: How best to copy all UNIX files one z/OS to another

2020-10-29 Thread Paul Gilmartin
On Thu, 29 Oct 2020 11:52:35 -0400, Ken Smith wrote: > >But - are there FTP command parms that would copy the Unix files directly >and retain all attributes? (no intermediate pax/dss file). > Not FTP, but ssh: ( cd $HOME & pax -w . ) | ssh user@other-lpar 'cd & pax -vr' I do it routinely. --

Re: How best to copy all UNIX files one z/OS to another

2020-10-29 Thread Ken Smith
harles > > > > > > -Original Message- > > From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] > On Behalf Of Paul Gilmartin > > Sent: Thursday, October 29, 2020 6:51 AM > > To: IBM-MAIN@LISTSERV.UA.EDU > > Subject: Re: How

Re: How best to copy all UNIX files one z/OS to another

2020-10-29 Thread Lloyd Fuller
n is good. > > Charles > > > -Original Message- > From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On > Behalf Of Paul Gilmartin > Sent: Thursday, October 29, 2020 6:51 AM > To: IBM-MAIN@LISTSERV.UA.EDU > Subject: Re: How best to

Re: How best to copy all UNIX files one z/OS to another

2020-10-29 Thread Paul Gilmartin
On Thu, 29 Oct 2020 07:01:31 -0700, Charles Mills wrote: >*Size* (disk space) might be a constraint so compression is good. > A pipe is your friend. Why should you need disk space other than for the source and the target, which I suspect you don't intend to compress? >From: Paul Gilmartin

Re: How best to copy all UNIX files one z/OS to another

2020-10-29 Thread Charles Mills
to copy all UNIX files one z/OS to another On Wed, 28 Oct 2020 18:49:46 +, Michael Brennan wrote: >After the pax, unmount your new ZFS/HFS file. DFDSS dump it, terse the dump >then FTP the tersed file. At the receiving site, unterse and restore. > That seems to be an exercise in s

Re: How best to copy all UNIX files one z/OS to another

2020-10-29 Thread Paul Gilmartin
On Wed, 28 Oct 2020 18:49:46 +, Michael Brennan wrote: >After the pax, unmount your new ZFS/HFS file. DFDSS dump it, terse the dump >then FTP the tersed file. At the receiving site, unterse and restore. > That seems to be an exercise in seeing how many needless utilities you can exploit.

Re: How best to copy all UNIX files one z/OS to another

2020-10-29 Thread Paul Gilmartin
On Thu, 29 Oct 2020 03:34:19 +, kekronbekron wrote: >Wondering why no one has suggested the all new USS file/directory dumping >capability in DFDSS. >... >the output will probably be huge. > I believe you've answered your own question. >See if Co:Z SFTP can help in any way w.r.t managing

Re: How best to copy all UNIX files one z/OS to another

2020-10-29 Thread Ron Wells
. -Original Message- From: IBM Mainframe Discussion List On Behalf Of kekronbekron Sent: Wednesday, October 28, 2020 10:34 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: How best to copy all UNIX files one z/OS to another ** EXTERNAL EMAIL - USE CAUTION ** Wondering why no one has suggested

Re: How best to copy all UNIX files one z/OS to another

2020-10-28 Thread kekronbekron
Wondering why no one has suggested the all new USS file/directory dumping capability in DFDSS. I would also run ls -alf in a batch job against all the 'old' mount points to get a listing of owners & permissions. Batch because the output will probably be huge. See if Co:Z SFTP can help in any

Re: How best to copy all UNIX files one z/OS to another

2020-10-28 Thread Michael Brennan
After you get your unix files to the target system, If you need to change ownership of all the directories the following will come in handy: //JS10 EXEC PGM=IKJEFT01 //SYSTSPRT DD SYSOUT=* //SYSTSIN

Re: How best to copy all UNIX files one z/OS to another

2020-10-28 Thread Lionel B Dyck
rs think you are." - John Wooden -Original Message- From: IBM Mainframe Discussion List On Behalf Of Charles Mills Sent: Wednesday, October 28, 2020 12:43 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: How best to copy all UNIX files one z/OS to another And then copy the pax with FT

Re: How best to copy all UNIX files one z/OS to another

2020-10-28 Thread Michael Brennan
equ...@listserv.ua.edu> Sent: Wednesday, October 28, 2020 1:12 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: How best to copy all UNIX files one z/OS to another [CAUTION: This Email is from outside the Organization. Unless you trust the sender, Don’t click links or open attachments as it may be a Phishing

Re: How best to copy all UNIX files one z/OS to another

2020-10-28 Thread Paul Gilmartin
-vr' # Must be: ( cd $HOME & pax -w . ) | sshuser@other-lpar 'cd & pax -vr' ... one of my favorite mistakes. >-Original Message- >From: Michael Brennan >Sent: Wednesday, October 28, 2020 10:33 AM >To: IBM-MAIN@LISTSERV.UA.EDU >Subject: Re: How best to co

Re: How best to copy all UNIX files one z/OS to another

2020-10-28 Thread Charles Mills
to copy all UNIX files one z/OS to another Mount yourself a brand new empty ZFS or HFS file and mount it at /To_Directory/ then go into OMVS (TSO OMVS) and issue following commands: cd /from_directory/ pax -rvwkC -pe * /To_Directory

Re: How best to copy all UNIX files one z/OS to another

2020-10-28 Thread R.S.
W dniu 28.10.2020 o 17:52, Charles Mills pisze: 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

Re: How best to copy all UNIX files one z/OS to another

2020-10-28 Thread Michael Brennan
of Charles Mills Sent: Wednesday, October 28, 2020 11:52 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: How best to copy all UNIX files one z/OS to another [CAUTION: This Email is from outside the Organization. Unless you trust the sender, Don’t click links or open attachments as it may be a Phishing email

Re: How best to copy all UNIX files one z/OS to another

2020-10-28 Thread Paul Gilmartin
On Wed, 28 Oct 2020 09:52:23 -0700, Charles Mills wrote: >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

How best to copy all UNIX files one z/OS to another

2020-10-28 Thread Charles Mills
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