There is no need to preallocate and format the new ZFS target data set.  Just 
do a copy with the RENAMEU option.  Below is an example.  In this example SYS1 
high level is not SMS managed.  SYS2 high level is SMS managed in this example:


//S3      EXEC PGM=ADRDSSU

//SYSPRINT DD SYSOUT=*

//SYSIN    DD *

 COPY    DATASET(INCLUDE( -

   SYS1.ZFS.R23.OSPR01.SIZUUSRD.**)) -

 ALLDATA(*) -

 ALLEXCP -

 CANCELERROR -

 CATALOG -

 TGTALLOC(SOURCE) -

 WAIT(2,2) -

 RENAMEU((SYS1.ZFS.R23.OSPR01.**,SYS2.ZFS.R23.OSPR01.**))

//

Michael



________________________________
From: IBM Mainframe Discussion List <IBM-MAIN@LISTSERV.UA.EDU> on behalf of 
Kenneth J. Kripke <k.kri...@comcast.net>
Sent: Thursday, April 2, 2020 1:21 PM
To: IBM-MAIN@LISTSERV.UA.EDU <IBM-MAIN@LISTSERV.UA.EDU>
Subject: Copy NON-SMS ZFS file to a pre-allocated SMS

[CAUTION: This Email is from outside the Organization. Do not click links or 
open attachments unless you trust the sender.]

I am posting this question to the group on behalf of a colleague who does
not have access to IBM-MAIN

He is attempting to copy a ZFS file from a NON-SMS managed volume to a
pre-allocated and formatted SMS managed FILE.

He has attempted to use the DFDSS COPY function, and, he does have Storage
Admin authority, but, his copy fails.

What settings need to be set and what tools should be used to perform this
sort of task?



k.kri...@comcast.net <mailto:k.kri...@comcast.net>


----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
::DISCLAIMER::
________________________________
The contents of this e-mail and any attachment(s) are confidential and intended 
for the named recipient(s) only. E-mail transmission is not guaranteed to be 
secure or error-free as information could be intercepted, corrupted, lost, 
destroyed, arrive late or incomplete, or may contain viruses in transmission. 
The e mail and its contents (with or without referred errors) shall therefore 
not attach any liability on the originator or HCL or its affiliates. Views or 
opinions, if any, presented in this email are solely those of the author and 
may not necessarily reflect the views or opinions of HCL or its affiliates. Any 
form of reproduction, dissemination, copying, disclosure, modification, 
distribution and / or publication of this message without the prior written 
consent of authorized representative of HCL is strictly prohibited. If you have 
received this email in error please delete it and notify the sender 
immediately. Before opening any email and/or attachments, please check them for 
viruses and other defects.
________________________________

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Reply via email to