UPDATE! The community will be go into read-only on April 19, 8am Pacific in preparation for migration on April 21. Read more.
UPDATE! The community will be go into read-only on April 19, 8am Pacific in preparation for migration on April 21.Read more.

Battle of the Clones

Battle of the Clones


In a Galaxy far away there is a place for clones to do the job over and over again.  But alas they are flawed without a heart and soul they can not grow up they cannot evolve into the next generation of fighting machines..   At least not like the original that is delivered from the factory.   When the upgrade is announced it is difficult to find the wretched clone because they can have any name the master of the day gave them.  So they are lost for ever to be many releases behind their coworkers inefficient and possibly totally forgotten

In the real world reuse is accomplished by augmentation and adaptation and not by cloning the delivered code. What the creator of ChangeMan ZMF has done in the latest releases is make it possible for you to almost never change a delivered skeleton except for ones that are set up specifically for that purpose.   The most common cloned skeletons are the compilers -- the least required custom skeletons now are the compilers -- you can set the variables externally.  If you need to include a custom pre or post processor add the code to selectively include the preprocessor -- code like )If &PREPRO EQ Y THEN )IM PREPRO or something similar -- it does not have to be complicated.

I recently had a customer that had ten COBOL procedure skeletons all basically doing the same thing.  The historical reason was they had been different versions at one point.  So I didn't want to retrofit 10 skeletons when I could just do one (naturally lazy) I simply retrofitted one and had the other 9 imbed that skeleton.  If there were differences and there were in a couple I just checked the &PROC variable to insert the difference.   The less I have to code the less I have to test, the more functionality I get from my system.

Lets look to the future where clones are heartless wonders from the past










Labels (1)


Some content on Community Tips & Information pages is not officially supported by Micro Focus. Please refer to our Terms of Use for more detail.
Top Contributors
Version history
Revision #:
3 of 3
Last update:
‎2020-01-16 19:59
Updated by:
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.