On 2016-09-03, at 11:45, Bill Johnson wrote:

> Any way to accomplish the task using a batch job. JCL I'm an expert.
>  
That doesn't help.  You'd need to use BPXBATCH or PXWUNIX or ..., any
of which is just a wrapper for the same UNIX commands.
> 
> From: "Gibney, Dave" 
> Sent: Saturday, September 3, 2016 11:21 AM
> 
> Use copytree
>  
Be very careful.  Copytree is apt to do unexpected and unwelcome
things with symbolic links, special files, multiply linked files,
...

>> -----Original Message-----
>> From: Behalf Of Bill Johnson
>> Sent: Saturday, September 03, 2016 4:51 AM
>> 
>> TIA. I'm trying to get the USS HFS file structure off of USS and into a
>> mountable zFS dataset. ...


On 2016-09-03, at 10:49, R.S. wrote:
> 
> <advertisement>
> I'd recoomend pax utility, with or without intermediate file.
> for "copy" method it would be something like:
> pax -rw -XCM -pEW /source-dir /dest-dir
>  
A good start.  Pax defaults are far more savvy to non-regular files
than copytree.  Still be careful:

o The form R.S. suggests is apt to create undesired pathname
  qualifiers in /dest-dir.  There are (numerous) options to
  control this.  I prefer, timidly, to:
    ( cd /source-dir && pax -w . ) | ( cd /dest-dir && pax -r )

o pax provides several archive formats.  Only one of these
  faithfully copies z/OS extended attributes.

Practice with small test cases.  Your zFS is an expendable
test /dest-dir right now.

I hope you're not too frightened,
gil

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

Reply via email to