How To
Summary
A version is a way of re-creating an editable member the way it used to be. If you defined your SCLM project to perform versioning, you have a history of the changes made to your members. Whenever a member is changed, SCLM creates a list of the differences between the old and new member. This list is called a delta. When you need to retrieve the member, the changes are stripped from the new member until it is restored to its former condition.
Steps
Saving Versions
Once versioning is turned on, any time you perform a STORE or a PROMOTE, versions are saved in the versioning partitioned data set. STOREs are most often done through the SCLM Edit process (ISPF option 10.2) or the Migration Utility (ISPF option 10.3.3). They also occur when you use the EDIT, STORE, or MIGRATE service. PROMOTEs are done either through the Promote option (ISPF option 10.5) or the PROMOTE service.
Recovering Versions
To retrieve versions of a member, you have two choices:
- Audit and Version Utility (ISPF option 10.3.8)
- VERRECOV service
The fields on the utility panel and the service parameters are similar. The SCLM Audit and Version Utility - Entry Panel requests the following information:

- View Audit Information,
- Compare a version to either an existing version or an eXternal data set,
- Delete versions or audit records,
- View version History,
- Retrieve a version, or
- View a version.


- COPY the new member from the version in the non-SCLM data set and replace the failing one, or
- Edit the failing member, and use the COMPARE command to compare the failing member with the other data set. Make changes based on the highlighted differences.
For an example of how to use the VERRECOV service, SCLM provides a member, FLMSVERR, in the ISPF sample library ("ISP.SISPSAMP").
Comparing Versions
If you are not sure which version you want to retrieve, you can look at the differences between two versions to see which one is correct. There are two types of comparisons.
- Compare - compare a version against another version of the same member.
- External compare - compare a version against a data set member or other data set.
To compare two versions of a member, select the member name with the line command C. On the SCLM Audit and Version Utility - Compare Panel, enter the Compare Type, Listing Type, and Sequence Number Values. Put a data set name in the Listing DS Name field. Then, use the S line command to select the member version you want to compare against, as shown:

- An SCLM group in the same hierarchy, or
- An ISPF data set and member.
Document Location
Worldwide
Was this topic helpful?
Document Information
Modified date:
20 March 2020
UID
ibm11288738