AMT Help Files

Label Management

Once object revisions are assigned to labels, the Label Management function makes it easier to manage the promotion of object revisions from one generation set to another, e.g. from 'Development' to 'Function Test'. Also, should you wish to undo a release of code and reinstate previous object revisions, labels help you to identify the object revisions that require reinstatement. Object revisions are assigned to labels either at check-in or afterwards. It is recommended to use labels each time you promote code between generation sets.

Assigning a label at check in or promotion of a revision can be made mandatory by enabling the "Force label selection on checkin's" setting in the Enterprise Options 'Configuration' screen. 


In the Revision Control screen, the following buttons are used for assigning object revisions to labels:
The "Check in" button opens a dialogue box where you may optionally assign the object revision to a label.
The "Label..." button lets you assign the object revision to a label.
The "Promote..." button opens a dialogue box where you may optionally assign the object revision to a label.
NOTE: an object revision can be assigned to multiple labels.

The 'Label Management' screen is accessed by using the open command 'LAB'. You may also select the menu item 'View - Label Management'. Ensure that you have first selected the required application from the Repository screen. If you are editing/viewing any objects then you will be taken to the label management for that application. The application name will be shown in the title bar of AMT-COBOL Developer Studio.

 

The labels are presented in a tree view in the left window, the objects assigned to the label are displayed in the right window.

Each label can also act as a node by moving other labels onto them. 

Labels can be moved from one node to an other by dragging them to the desired label.
Using the Shift or Ctrl key, multiple labels within the same node can be selected and then be moved up or down by clicking the corresponding button.
To move multiple labels from one node to another, keep holding the Shift or Ctrl key and the left mouse button down while dragging the labels to their new location.

 

The following buttons are provided on the label management screen:


To promote the code in a label to another generation set, first select the target generation set by clicking the "Choose Generation Set" icon in the top toolbar. Select the label from the left-hand pane, then click the "Move to generation set <Current GenSet>" button. The target generation set name is also displayed next to this button. In the target generation set, the newly transferred objects will require a generate. When moving objects to a GenSet, only the objects assigned to the label itself will be transferred, not the objects in sub labels hanging below the selected label. 

When one or more objects have an older revision than the object in the generation set to move to, a warning will be issued making it possible to only move newer versions to the generation set.

 

Label Management Security

The label management security is an extension of the AMT Developer Studio security system for labels. Label permissions can be set per usergroup for every label, or be inherited from the parent label/node. 


 

By selecting the usergroups, the current label permissions for that group can be viewed.
To edit the label permissions of a usergroup, first select the correct usergroup and then click on the "Edit" button. When the 'Inherit permissions from parent' checkbox is checked, all the permissions are copied from the parent label/node of the label. When it is not checked, the individual label permissions can be enabled or disabled by (un)checking the checkbox next to the permission.

 

The label permissions are as follows:

Label Permission:  Description:
Administrator

Usergroups with this permission have all label permissions below and are allowed to modify label management security settings.

Look into

Usergroups with this permission can view the contents of the label.

Create label

Usergroups with this permission can create new labels.

Modify label

Usergroups with this permission can modify the label name and position.

Delete label

Usergroups with this permission can delete the label.

Assign objects

Usergroups with this permission can assign objects to the label.

Delete objects

Usergroups with this permission can delete objects within the label.

 

Changes to permissions of other users will become active once the user has restarted the AMT Developer Studio.