Yes, I understand that.  And so you need to differentiate the DDDEFs for target 
libraries from the DDDEFs for dlib libraries and other datasets.  Which is why 
I asked if it is only the target libraries that have VOLUME pointing to the 
sysres.  From the SMP/E Commands Manual there is the following example:

SET        BDY (TZONE1)      /* Set to zone to edit.    */.
ZONEEDIT   DDDEF            /* Edit DDDEF entries       */.
IF         (VOLUME=SYSRES)  /* for SYSRES volume only.  */
CHANGE     UNIT(3330,3350)  /* Change unit from 3330,   */               
DATASET(SYS1.*,                      
SYS2.*)  /* data set name from SYS1. */.
ENDZONEEDIT                 /* End of ZONEEDIT.         */.

Would some variant of the above not be appropriate...?

Regards

Andy T.


On 3 Sep 2014, at 10:58, Mainframe Mainframe <[email protected]> wrote:

> Yes. But the issue is.. if I set boundary to TARGET zone then all dataset
> under target zone ( target and distribution ) both volume will be changed,
> which I dont want. I want to change only for Target dataset.
> 
> 
> On Wed, Sep 3, 2014 at 3:02 PM, Andy Taylor <[email protected]>
> wrote:
> 
>> Ok, I believe I understand.  In which case, are the DDDEFs for the target
>> libraries the only DDDEFs in your target zone with VOLUME pointing at your
>> sysres?  If so can't you use ZONEEDIT with a conditional?  (SMP/E Commands
>> Manual has an example).
>> 
>> Regards
>> 
>> Andy T.
>> 
>> 
>> On 3 Sep 2014, at 10:21, Mainframe Mainframe <[email protected]>
>> wrote:
>> 
>>> Thanks for reply. But I am not looking for single DDDEF entry. I want to
>>> update all target dataset DDDEF using single JCL. I don't want to do it
>>> manually. As this will consume lots of time.
>>> 
>>> 
>>> On Wed, Sep 3, 2014 at 2:42 PM, Andy Taylor <[email protected]>
>>> wrote:
>>> 
>>>> Hello
>>>> 
>>>> Not quite sure why you think you can't update a single DDDEF entry, but
>> is
>>>> it because you're looking at the ZONEEDIT command as opposed to the
>> UCLIN
>>>> command?  UCLIN will allow you to update a single DDDEF entry.
>>>> 
>>>> Regards
>>>> 
>>>> Andy T.
>>>> 
>>>> 
>>>> On 3 Sep 2014, at 09:36, Mainframe Mainframe <[email protected]>
>>>> wrote:
>>>> 
>>>>> We have two copies of RES volume. Primary and Secondary in our z/OS
>> 1.13
>>>>> systems.While setting up SMPE initially, we always make sure that SMPE
>>>>> DDDEF of target dataset should point to only Alternate RES volume and
>> we
>>>>> always run system with primary RES volume.
>>>>> 
>>>>> So, while applying Maintenance new data will go into Alternate RES
>>>> volume,
>>>>> and running system will not be affected.
>>>>> 
>>>>> But, I just saw that in one of our system, Target dataset DDDEF is not
>>>>> pointing to Alternate RES volume. But as we have indirectly catalogging
>>>>> setup, So, target zone  DDDEF pointing  that RES volume using that
>> system
>>>>> is IPL'd currently.
>>>>> 
>>>>> But Now I have requirement of changing Target zone DDDEF to point to
>> Alt
>>>>> RES volume permanently . But my difficultly is, if I use CHANGE VOLUME
>> by
>>>>> setting up BDY as target zone then it will change all target and
>>>>> distribution dataset present in target zone which I dont want. Is there
>>>> any
>>>>> procedure, to change only Target dataset volume and UNIT parameter in
>>>>> target zone.
>>>>> 
>>>>> ----------------------------------------------------------------------
>>>>> 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
>>>> 
>>> 
>>> ----------------------------------------------------------------------
>>> 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
>> 
> 
> ----------------------------------------------------------------------
> 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