I've never had any luck resizing ZFS using the DSS copy, I'd be curious if that 
works for Lizzette 
zfsadm grow will work if the zfs was allocated with a large enough primary, my 
personal preference, rather than having many extents to get my final results, 
plus John makes a good point 
The only reason that I can think of is if the zFS filesystem LDS was originally 
created with a DataClass which did not have "extended addressing" and so is 
limited to 4 GiB.​ 


I still prefer allocating a new linear vsam file large enough and REPRO the old 
to the new, and mount that file at /u/userid/tmp and see if it contains all the 
data you expect to be there, I've done this with a vendor's ZFS file that was 
created incorrectly . 




----- Original Message -----

From: "David Jousma" <[email protected]> 
To: [email protected] 
Sent: Friday, March 3, 2017 12:40:09 PM 
Subject: Re: Can you use IDCAMS REPRO on zFS files 

Ok, well in that case, I'd just DFDSS copy it. In fact, if you can unmount it 
first you can copy it, and have DSS rename it back to the original name all in 
one operation, then just remount it. 

//STEP1 EXEC PGM=ADRDSSU,REGION=8M 
//SYSPRINT DD SYSOUT=* 
//SYSIN DD * 
COPY DS(INC(your.zfs)) - 
ALLDATA(*) - 
SPHERE - 
DELETE - 
ALLX - 
CATALOG - 
PURGE 

_________________________________________________________________ 
Dave Jousma 
Manager Mainframe Engineering, Assistant Vice President 
[email protected] 
1830 East Paris, Grand Rapids, MI 49546 MD RSCB2H 
p 616.653.8429 
f 616.653.2717 


-----Original Message----- 
From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf 
Of Lizette Koehler 
Sent: Friday, March 03, 2017 1:35 PM 
To: [email protected] 
Subject: Re: Can you use IDCAMS REPRO on zFS files 

So the file was allocated at 1,1 CYL. It is now at 200Cyls. And 200 extents. 

I like to resize the space allocation so it does not have to do 

EXTEND - FORMAT 
EXTEND - FORMAT 
EXTEND - FORMAT 

Dozens of times and possibly impacting the performance for the user. 

Lizette 


> -----Original Message----- 
> From: IBM Mainframe Discussion List [mailto:[email protected]] 
> On Behalf Of Jousma, David 
> Sent: Friday, March 03, 2017 11:29 AM 
> To: [email protected] 
> Subject: Re: Can you use IDCAMS REPRO on zFS files 
> 
> Seems like going around the block to get next door....why not just 
> zfsadm grow? 
> 
> _________________________________________________________________ 
> Dave Jousma 
> Manager Mainframe Engineering, Assistant Vice President 
> [email protected] 
> 1830 East Paris, Grand Rapids, MI 49546 MD RSCB2H p 616.653.8429 f 
> 616.653.2717 
> 
> 
> -----Original Message----- 
> From: IBM Mainframe Discussion List [mailto:[email protected]] 
> On Behalf Of Lizette Koehler 
> Sent: Friday, March 03, 2017 11:55 AM 
> To: [email protected] 
> Subject: Can you use IDCAMS REPRO on zFS files 
> 
> List - 
> 
> When I expand a zFS file I will create a new one, mount it on a temp 
> directory, then copy from the original to the new. Dismount Old, 
> alter/newname new and then mount on original path. 
> 
> I have someone telling me that I can use a simple IDCAMS Repro 
> 
> Which means my process would be 
> Unmount 
> Rename current to .old 
> Create new with correct name 
> REPRO old to new 
> Mount new file on original mount point 
> 
> Is it possible to use IDCAMS to copy a zFS file and not break the structure? 
> Inquiring minds want to know. 
> 
> Thanks 
> 
> 
> Lizette 

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


This e-mail transmission contains information that is confidential and may be 
privileged. It is intended only for the addressee(s) named above. If you 
receive this e-mail in error, please do not read, copy or disseminate it in any 
manner. If you are not the intended recipient, any disclosure, copying, 
distribution or use of the contents of this information is prohibited. Please 
reply to the message immediately by informing the sender that the message was 
misdirected. After replying, please erase it from your computer system. Your 
assistance in correcting this error is appreciated. 

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


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

Reply via email to