When I used REPRO on a zFS the same size was used no matter how the TO file was set up. So I think REPRO works for a like-to-like copy.
If you want to resize, you need to create a new zFS then use OMVS to cp the file with appropriate functions. cp -R -p source target This way I keep my files and attributes, etc in tack in the target file Lizette > -----Original Message----- > From: IBM Mainframe Discussion List [mailto:[email protected]] On > Behalf Of R.S. > Sent: Thursday, September 21, 2017 8:28 AM > To: [email protected] > Subject: Re: Extended format system ZFS files > > W dniu 2017-09-21 o 14:01, Shaffer, Terri pisze: > > I was able to use REPRO and everything worked great. The key is just do > the allocation of the ZFS and not the format as repro will copy the format > and ZFS changes to ZFS when I mounted. > > That's easy to explain: you copy CI's - kind of "physical blocks" > (actually they are physical blocks AFAIK), so you copy entire content of the > ZFS container. So, target ZFS has to be empty or reused > (overwritten) otherwise there would be APPEND operation instead of copy, and > that will break the structure of filesystem. > > Things less obvious: > 1. Can I copy from non-EA to EA cluster? > 2. Is SMS-managed source and non-SMS target OK? (I bet yes) 3. Can I copy > from 1000-cyl single extent to a 3000-cyl primary allocation cluster? > > -- > Radoslaw Skorupka > Lodz, Poland ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
