This section describes how to alter code using the SCLM editor.
To illustrate how SCLM protects project members from unintentional
updates, you will change the FLM01EQU member and create an error situation.
This error causes the BUILD to fail and prevents a PROMOTE until you
correct the error.
FLM01EQU is an included member in FLM01MD3. SCLM automatically
tracks included members, so you do not have to specify their relationship
in your architecture definition.
- Return to the SCLM Main Menu, and specify DEV2 in
the Group field. Select the Edit option and press Enter.
- Select SOURCE in the Type field and FIX01 in
the "Change code" field. Press Enter to open the Edit Member
list.
- Select FLM01EQU from the Edit Member list. Note that FLM01EQU
is in the RELEASE group and a draw down from the RELEASE group to
the DEV2 group takes place.
- From the command line, issue the SETUNDO ON command.
Different system installations will have different profile defaults
set, so issuing this command will ensure that you have PDF Edit UNDO
set On.
- Duplicate the line R4 EQU 4 and change WORK
REGISTER in the comment to DEV2 ERROR. Press
Enter.
- From the command line, issue UNDO: type Undo on
the command line and press Enter. The change to the comment is removed.
The duplicate line remains. Note that UNDO works only if your profile
has UNDO set to ON.
- Reenter the change to create the error situation for this example
from step 4.
- Use the split screen option. Select SCLM from the ISPF Primary
Option Menu. Select Edit, specify PROJ1 in the Project field, and
specify DEV1 (DEV1 is another development group in this SCLM project)
in the Group field.
Attempt to edit FLM01EQU by typing FLM01EQU
in the Member field and pressing Enter. Press the Help key twice to
retrieve the long message describing the error condition. SCLM locked
FLM01EQU for DEV2 at the time of the draw down. FLM01EQU cannot be
updated by another group until a PROMOTE is issued from DEV2 or FLM01EQU
(member and accounting record) is deleted from DEV2. End split screen.
- Return to the DEV2 edit screen and issue the SPROF edit command:
type SPROF on the command line and press Enter. Note
that the language is ASM and the change code is FIX01. SCLM prompts
you for a language when a member is created. You can use SPROF to
change the language SCLM associates with the member. Press Enter to
return from the SCLM Edit Profile Panel to the SCLM Edit panel.
- Press the End key to save the member and end the edit session.
Use the Help key to display the long message, which indicates that
SCLM parsed and stored the member.
Press the End key twice to
return to the SCLM Main Menu.