When you run UCL, the syntax may vary according to the type of element you're modifying. Never had occasion to 'change' SOURCEID, but I would guess that you REP the entire existing set of SOURCEIDs with a new set that has all and only the names you want. Or even DEL the subentry on one pass and ADD it back again with your choice of ids.
The addition I was referring to was simply specifying SOURCEID(s) on a RECEIVE command. . . J.O.Skip Robinson Southern California Edison Company Electric Dragon Team Paddler SHARE MVS Program Co-Manager 626-302-7535 Office 323-715-0595 Mobile jo.skip.robin...@sce.com From: Paul Gilmartin <paulgboul...@aim.com> To: IBM-MAIN@LISTSERV.UA.EDU, Date: 02/10/2014 04:14 PM Subject: Re: SMP/E SYSMOD SOURCEID(s)? Sent by: IBM Mainframe Discussion List <IBM-MAIN@LISTSERV.UA.EDU> On Mon, 10 Feb 2014 16:03:40 -0800, Skip Robinson wrote: >A sysmod can have multiple SOURCEIDs. If you receive a sysmod and specify >your own SOURCEID, yours is added to any that are already supplied in the >PTF being delivered. I do this all the time. > Thanks. That seems reasonable. But now I see: http://pic.dhe.ibm.com/infocenter/zos/v2r1/topic/com.ibm.zos.v2r1.gim2000/smbex1.htm Example 1: Changing the SOURCEID of a SYSMOD [definite article, again] SMP/E for z/OS Reference SA23-2276-00 Assume that you received a SYSMOD and assigned it a SOURCEID value of DATALINK, and that you now want to change the SOURCEID value to PUT0701 so that the SYSMOD will be installed with that service level. The following UCL can be used to change the SOURCEID value: SET BDY(GLOBAL) /* Set to global zone. */. UCLIN /* */. REP SYSMOD(UZ00001) /* Specify SYSMOD. */ SOURCEID(PUT01) /* Change SOURCEID value. */ /* */. ENDUCL (to agree with the text, it should say "SOURCEID(PUT0701)".) ... the example is, at best oversimplified. Suppose UZ00001 has three SOURCEIDs. How do I code the UCL to: o Change the first from DATALINK to WOMBAT o Leave the second unmodified, whatever it is o Remove the third entirely? Thanks, gil ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN