On Tue, 11 Feb 2014 06:38:33 -0600, Kathryn A. Pinto wrote:

>Skip has given most of the answers already.  But to summarize the processing 
>of UCLIN on the SOURCEID subentry:
> 
Thanks.

Should I have been able to infer all this clearly from the SMP/E Commands 
manual?  If
not, I'll submit an RCF.  Examples should serve only to clarify information 
presented in
the processing description, not to supply essential information.

Is this behavior characteristic of repeatable subentries of DB entries (such as 
the
CSECT subentry of the MOD entry in the Target zone)?  Is there an overall rule
that I missed?

Is there a limit to the number of SOURCEIDs that can be defined for  SYSMOD?

>A SYSMOD can have multiple SOURCEIDs.  The ADD and DEL UCLIN operations can be 
>used to act on one or more SOURCEID values and leave the existing values as 
>is.  For example, if a SYSMOD has 2 SOURCEIDs (DATALINK1 and DATALINK2), 
>
>I can ADD one or more SOURCEIDs like so:
>
>UCLIN.
>ADD SYSMOD(sysmodid) SOURCEID(DATALINK3, DATALINK4).
>ENDUCL.
>
>This will leave the SYSMOD with 4 SOURCEIDs - DATALINK1, DATALINK2, DATALINK3 
>and DATALINK4.
>
>I can delete one or more SOURCEIDs like so:
>
>UCLIN.
>DEL SYSMOD(sysmodid) SOURCEID(DATALINK2, DATALINK4).
>ENDUCL.
>
>This will leave the SYSMOD with 2 SOURCEIDs - DATALINK1 and DATALINK3.
>
>I can also DELete all of the SOURCEIDs like so:
>
>UCLIN.
>DEL SYSMOD(sysmodid) SOURCEID().
>ENDUCL.
>
>The REP UCLIN command will completely replace any existing SOURCEID values 
>with the values specified in the UCLIN command.  For example, if a SYSMOD has 
>3 SOURCEID values - DATALINK, DATALINK2, DATALINK3 and I want to 
>o Change the first from DATALINK to WOMBAT
>o Leave the second unmodified, whatever it is
>o Remove the third entirely?
>
>I could REPlace them as follows:
>
>UCLIN.
>REP SYSMOD(sysmodid) SOURCEID(WOMBAT, DATALINK2).
>ENDUCL.
>
>This will leave the SYSMOD with 2 SOURCEID values - WOMBAT and DATALINK2.
>
>I could also do as Skip suggested and delete them all, then add the require 
>ones:
>
>UCLIN.
>DEL SYSMOD(sysmodid) SOURCEID().
>ADD SYSMOD(sysmodid) SOURCEID(WOMBAT, DATALINK2).
>ENDUCL.

Thanks again,
gil

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

Reply via email to