Jake,

all smp actions in one job after clone:

in my case cloning  MVSI13A.**  to MVSA13A.** datasets 
PATH changed to make it possible to mount old and new levels at same time.
ZONERENAME in this case to get both environments in one GLOBAL zone.  

 //SMPCNTL  DD  *                                                      
 SET BDY(GLOBAL).                                                      
 ZONERENAME(MVSITRG)                                                   
     TO(MVSATRG)                                                       
     NEWDATASET(MVSA13A.SMP.TARGET.CSI)                                
     RELATED(MVSADLB)                                                  
     OPTIONS(ZOSOPTA)                                                  
     .                                                                 
 ZONERENAME(MVSIDLB)                                                   
     TO(MVSADLB)                                                       
     NEWDATASET(MVSA13A.SMP.DLIB.CSI)                                  
     RELATED(MVSATRG)                                                  
     OPTIONS(ZOSOPTA)                                                  
     .                                                                 
 SET BDY(MVSADLB).         /* change Path and Dataset Prefix */        
 ZONEEDIT DDDEF.                                                       
   CHANGE PATH('/MVSI13A/'*,                                           
               '/MVSA13A/'*) .                                         
                                                                       
   CHANGE DATASET(MVSI13A.*,                                           
                  MVSA13A.*).                                          
 ENDZONEEDIT.                                                          
 SET BDY(MVSATRG) .        /* change Path and Dataset Prefix */        
 ZONEEDIT DDDEF.                                                       
                                                                       
   CHANGE PATH('/MVSI13A/'*,                                           
               '/MVSA13A/'*) .                                         
                                                                       
   CHANGE DATASET(MVSI13A.*,                                           
                  MVSA13A.*).                                          
 ENDZONEEDIT.                       

Succes,
Ron

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

Reply via email to