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

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.

----------------------------------------------------------------------
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