-----------------------<snip>-------------------------
That is until you have to RESTORE a SYSMOD at while point SMP/E 
causes you to do lots of useless work. The intent of a RESTORE is to 
create a system as if that SYSMOD (and possibly SYSMODs that PRE it) 
had not yet been APPLYed. The CORRECT way of doing a RESTORE 
operation is to determine which elements must be backed off and which 
SYSMODs contain the replacement versions of the elements. The current 
implementation causes you to have to remove (and subsequently 
reAPPLY) SYSMODS that have nothing to do with the one being RESTOREd. 
As a simple example, SYSMOD1 contains elements A, B, and C while 
SYSMOD2 contains only element B and PREs SYSMOD1. Both are currently 
in APPLY status. To RESTORE SYSMOD2, I must also RESTORE SYSMOD1 (and 
possibly SYSMOD3 which PREs SYSMOD1 since it contains a newer copy of 
A and/or C but not B). All that is needed is to just reAPPLY element 
B from SYSMOD1 and you have RESTOREd SYSMOD2 but SMP/E goes through 
useless work to back off A and C also (along with other elements in 
SYSMODs on the PRE chain that is anchored at SYSMOD1) only to then do 
an APPLY (sans SYSMOD2) of all the erroneously RESTOREd SYSMODs. If 
all you want to do is RESTORE B, you should run the element SUP chain 
on B until you find a copy to APPLY/use (in this case the copy in 
SYSMOD1) and ignore everything else. RESTORE is a flawed design since 
it involves elements that are not affected when the correct versions 
are available from SYSMODs still in APPLY status or from the DLIB 
copy of the element.
----------------------------<unsnip>----------------------------
NEVER assume SYSMODS are unrelated. Control block changes and dependancies can
cause changes in things that appear to be completely unrelated, but mis-matches
in code in CSECTS/RSECTS that use those blocks can have DISASTROUS consequences.

BTDTGTSS

Learned the hard way trying to install 3490E drives without pre-req maintenance
and the drives kept coming up as a strange flavor of disk drive! Many
interdependancies can, and do, span "component" boundaries and thus appear
completely unrelated.
---
[This E-mail has been scanned for viruses by the YourNet Connection Virus 
system]
[For more information, please go to http://www.ync.net/YourMAIL]

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to