What about SMP/E's generate command. You should be able to edit the job stream that it creates to get the proper control statements to build the over-laid modules from the Distribution libraries.
Chapter 7. The GENERATE command With the GENERATE command, you can create a job stream that builds a set of target libraries from a set of distribution libraries. In that way, it is similar to system generation. However, the GENERATE command offers several advantages over system generation: v GENERATE helps you reinstall products without SYSGEN support. System generation creates jobs to install only products that are included by the system generation macros. Products without this SYSGEN support are not included. As a result, when SYSGEN is used to create or replace a system, a number of products have to be reinstalled outside the SYSGEN process. GENERATE can create jobs to install all the products defined in a target zone, regardless of whether the products have SYSGEN support. As a result, when GENERATE is used to create or replace a system, no products have to be reinstalled outside the generation process. v GENERATE creates job streams that are processed more efficiently. The format of the system generation job stream depends on how the system generation macros are coded. For example, the number of products being installed and any changes in the system generation process may cause utilities to be called inefficiently. The format of the GENERATE job stream is based on an analysis of the target zone. One job is created for each target library. This reduces the number of utility calls for each data set and improves SMP/E performance by allowing the various utilities to run concurrently. Zones for SET BOUNDARY For the GENERATE command, the SET BOUNDARY command must specify the target zone containing the entries used to create the job stream. Syntax GENERATE Command GENERATE ,JOBCARD JOBCARD(ddname ) ,member_name , FORFMID( name ) REPLACE , RC( command=rc ) --- allan.stal...@hcl.com wrote: From: Allan Staller <allan.stal...@hcl.com> To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Weird problem hoping to be saved by SMP/E Date: Wed, 2 Nov 2016 12:33:53 +0000 HDZ1D10 is the function for df/SMS and related. This will normally be accepted at the time of installation. Try this (not syntax checked). SET BDY(DLIBZONE). LIST MOD(XXXXXXXX). (for each of the affected modules). Note UMID and RMIDs. SET BDY(TARGZONE). LIST MOD(XXXXXXXX). (for each of the affected modules). Note UMID and RMIDs. If the RMID's and UID's match, then the change was done outside of SMP/E. It they do not match, the change was done within SMP/E and either the RMID or UMID can be restored (It *WILL NOT BE* HDZ1D10). Accept all relevant maintenance *EXCEPT* the "offending RMID/UMID. Then *RESTORE* the offending RMID/UMID. This will install the just accepted module back into the specified target library. If there is no SMP/E record, then it becomes somewhat more difficult. You will have to use several utilities to "reconstruct" the original LMOD. Lets see if there is an SMP/E record first and then go from there.... HTH, <snip> I am attempting to recover or get back to the proper version of a couple LPALIB modules. In this case some sysprog decided to copy altered versions of a couple of load modules into SYS1.LPALIB. I have not been able to find a backup of the modules. So, I am left with what is in SMP/E to hopefully save the day. At first I was hoping for something like an APPLY REDO to recover the modules. . APPLY SELECT( HDZ1D10 ) CHECK BYPASS(HOLDSYSTEM) RETRY(YES) fails because HDZ1D10 was ACCEPTed. A RESTORE fails for GIM24501E RESTORE PROCESSING FAILED FOR SYSMOD sysmod BECAUSE OTHER SYSMODS WERE DELETED WHEN sysmod WAS APPLIED I am looking for ideas on how to get back to the correct versions of the modules. </snip> ::DISCLAIMER:: ---------------------------------------------------------------------------------------------------------------------------------------------------- The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only. E-mail transmission is not guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or may contain viruses in transmission. The e mail and its contents (with or without referred errors) shall therefore not attach any liability on the originator or HCL or its affiliates. Views or opinions, if any, presented in this email are solely those of the author and may not necessarily reflect the views or opinions of HCL or its affiliates. Any form of reproduction, dissemination, copying, disclosure, modification, distribution and / or publication of this message without the prior written consent of authorized representative of HCL is strictly prohibited. If you have received this email in error please delete it and notify the sender immediately. Before opening any email and/or attachments, please check them for viruses and other defects. ---------------------------------------------------------------------------------------------------------------------------------------------------- ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN _____________________________________________________________ Netscape. Just the Net You Need. ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN