Chapter 8: Administering Group Working

The information in this chapter is intended for the system administrator and describes:

Group Working Features

Revolve provides the following features that help you, the system administrator, to facilitate and manage group working:

Making Projects Shareable

You have the ability to make projects available to more than one user at a time. When a project is made shareable a duplicate copy of the project is created, given an extension of .sha, and stored in a different directory from the initial project. The copy is referred to as the Shadow Project.

Using a shareable project is not the same as using a network version of Revolve, where multiple users can use the same copy of Revolve at the same time. A shareable project can be accessed simultaneously by several users across a network. However, access to shareable projects is controlled. There are two levels assigned to shareable project operators:

USERS have analysis-specific privileges in the shareable project. They perform analysis tasks and edit source code. But USERS cannot make changes to project loading and component options, like Search Directories or Component Parameters. They also cannot add or delete components. The modifications that a USER makes are implemented in the Shadow Project. It is the Administrator's responsibility to apply those modifications to the actual project.

The rights specific to an administrator include:

Automating Project Management

The Scripts tool provides project management scripts for you to use as templates for automating your administrative tasks. These scripts implement REQL functions and constructs for batch project management procedures and operations. Pronounced REE-QUAL, REQL is an acronym for Revolve Query Language. It is used to manage the Revolve database. REQL, used in conjunction with the provided scripts, facilitates batch, command line, project management, where an administrator maintains numerous projects at one time by running customized scripts.

When you use REQL in project management you should be familiar with some general functions and parameters. These correspond with features that are also available in the Graphical User Interface (GUI). For example, the projectOpen function corresponds to the Open option on the Project menu. Where the Open option displays a dialog box that you use to open a project, the projectOpen function requires that you enter the path to the project. For more specifics on REQL, see the chapter Introduction to the REQL Language.

General Project Functions

The following functions correspond to features accessible on Revolve's Project menu:

REQL Function GUI Equivalent
projectClose Close on the Project menu.
projectMakeShareable Make Shareable on the Project menu.
projectNew New on the Project menu.
projectOpen Open on the Project menu.
deleteProject Delete Project on the Project menu.

Project Load Functions

Use the following functions when loading system components into a project The square brackets [ ] indicate optional parameters.

These functions correspond to those available on the Project Manager.

REQL Function GUI Equivalent
addComponent(strPath, [type]); Add Components
projectAddDirectory(strPath, strFileSpec, indIncludeSubDirs [, type]); Add Components
addComponent(strPath, [type]); Add Components
projectAddDirectory(strPath, strFileSpec, indIncludeSubDirs [, type]); Add Components
projectRemoveComps(setUid, [, indDeleteDatabase [, indDeleteSearchPath]]); Delete Components
make(); Make
makeSelected(); Load Selected
parse(); Make
status(); Status
integer rebuildProjectManagerData() Rebuild Project Manager data for all views
addPathSource(strPath, type, [, indScan [, parent]]); Search Directories (Project Level)
addExtSource(strExt, type); Extensions

Component Type Functions

REQL supports a wide variety of component types. Use the following type parameters when you add components to a project with REQL. These correspond to options available in Add Components.

File Types
Import Types

Component Parameters

This section describes functionality that corresponds to the Component Parameters tab on the Utilities menu. All parameters are project level, in the sense that settings encompass components according to their type. The syntax for setting a component parameter is:

retCode :=addRel(sourceUid, relation="attribute-name", value);

A return code of 1 indicates success, 0 indicates failure. To set values for default project values with new components, use the project as the sourceUid parameter. To set values for existing components, use the component as the sourceUid parameter.

The following integer attributes are modified with the corresponding relationships.

The following string attributes are modified with the corresponding relationships.

The following flag attributes are modified with the corresponding relationships:

To set values for existing components, use the component as the sourceUid parameter:

The syntax for getting an existing setting is:

retVal :=sourceUid:>attribute-name;

For example:

retVal :=project:>attr_reql_comp-param-i_start-column; 
uid :=system_component_cobol="BATCH1.CBL"; 
retVal :=uid:>attr_reql_comp-param-i_start-column; 

The following project options are set and returned with the setOption() and getOption() functions.

Search Paths and Extensions

The following functions enable you to add search paths, and extension-type mappings. These correspond with functionality available in Search Directories.

For additional descriptions and examples of functions associated with REQL, refer to the Functions chapter.

Administrator Responsibilities

Group working requires a consistent approach to policy and standards, especially where you have several projects in one enterprise.

Projects may be independent of each other, or may be related, for instance, if a very large project has to be divided into subprojects. Each subproject is treated as a separate project.

There are a range of tasks including setting up, customizing and maintenance which are best coordinated by one person, the administrator. To enable a group to work together, the administrator needs to define a strategy and the process for group working. It is worth taking time to develop a system that applies to your specific project for everyone to use consistently: this can save a great deal of investigative time and effort.

Administration Tasks to Set Up and Run Group Working

Having decided on your group working policies, there are three possible ways that group working can be established. These are discussed in the section Group Working in the chapter Using Worksheets.

The method described here is that of sharing a project for which the administrator needs to do the following:

Customizing Group Settings

Revolve enables you to share custom analysis tool settings, composite tools and batch processes so that results are consistent and meaningful.

Items to be customized for the group are:

Sharing Analysis Tools Settings

The default settings for the analysis tools are stored in a group called defaults in the Config\Settings directory.

To share customized individual tool settings, copy the tool settings file (.dts) onto each user's computer. The .dts files are created by the Configuration Wizard.

You can define new tool settings each time you run a tool, although this does not guarantee a consistent method of locating POIs when working on a group project.

Note: If you do not use the Configuration Wizard to customize the tool settings, they are active only until you close the project. If you have used the Configuration Wizard to customize tool settings, they are automatically saved as a new settings group.

For full details on how to customize and share settings, look up Settings in the index of the online help. See also the chapter Using Analysis Tools and Sets for for details on configuring settings.

Sharing Composite Tools

As an administrator, you create and share composite tools to avoid users using tools in different ways and so finding different points of interest. Composite tools have the filename you specify with the file extension .ct.

You can make a composite tool (.ct) available to only the current project, to all the projects for the current user or to all projects by anyone whose computer has access rights. Composite tools are stored as follows:

Available to: Where Stored
Local projects In the project's directory
All projects for the current user In the Revolve Enterprise > Analysis Tools subdirectory
All projects by anyone whose computer has access rights In the user defined Remote Configuration Directory. You can specify this on the Analysis Tools Options page of the Analysis Tools Properties dialog box.

If tools with the same names exist in the shared directory, the users' project directory and also in the users' Enterprise > Analysis Tools directory, the shared tool is used. The tools are searched for in the following order:

  1. Shared
  2. User
  3. Project

For full details of sharing composite tools, look up Composite tools in the index of the help. See also the chapter Using Analysis Tools and Sets for details on creating and editing composite tools.

Note: When you create a composite tool, the settings active at the time become the default settings of the new composite tool. You do not have to distribute a settings file if you intend to use only the default settings.

Sharing Batch Processes

Batch processes provide a means of running a sequence of composite tools one after the other in a defined order. If it is important that all users run the same set of tools in the same order, then you should create a batch process to share between the users. Sharing batch processes works in the same way as sharing composite tools.

You can make a batch process available to only the current project, to all the projects for the current user or to all projects by anyone.

See the section Batch Processes in the chapter Using Analysis Tools and Sets.

Sharing Worksheet Classifications

Group users need to use the same classifications in the same ways so that, for example, final reports contain accurate information for each type of classification. You can customize the default settings for classifications for everyone to use.

Taking the time to develop a shared system of classification can save a great deal of investigative effort. If you decide to do this and want to avoid unnecessary work later, we recommend that you plan your classification strategy with care.

Types of Classifications

There are four types of classifications that can be assigned to points of interest:

Note: There are two other sets of data that can be shared in the same way as the above classifications. These are filters and assignment rules and they are included here for completeness.

Methods of Sharing Classifications, Filters, User-defined Tabs and Assignment Rules

The way in which users share classifications, filters, user-defined tabs and assignment rules depends on whether projects are stand-alone or group working. Within group working the sharing of classifications differs depending on which worksheet is involved, group or local.

Project Type Worksheet Type How to Share Classifications, Filters, User-defined Tabs and Assignment Rules
Stand-alone Local Use the Export facility on the Settings page of Worksheet Properties to export the classifications, filters, user-defined tabs and assignment rules to a settings database where you can then add, remove or change them. Users should then import them from this settings database.
Group working Group Use the Export facility on the Settings page of Worksheet Properties to export the classifications, filters, user-defined tabs and assignment rules to a settings database where you can then add, remove or change them. Users should then import them from this settings database.
Group working Local Local worksheets in group working environments always start with the classifications, filters, user-defined tabs and assignment rules as assigned to the group worksheet - the default list is copied from the group worksheet to the local worksheet when the local worksheet is created. Subsequent changes in the group worksheet to:
  • Categories, filters, user-defined tabs, data types and assignment rules are automatically copied to local worksheets that share the group worksheet when the local worksheets are opened
  • Notes and removal reasons are not automatically copied to local worksheets

Notes:

In a group working environment with local worksheets, you need to be aware that different conditions apply when users want to change classifications, filters or assignment rules:

Sharing Worksheets

A group worksheet is useful for everyone to see the current state of the group's analysis information. The main areas of responsibility for the administrator are:

Setting Up the Project and the Group Worksheet

As administrator, you are responsible for creating the project and the group worksheet. We suggest splitting up the work by source file, although you can split it up in any way that suits you.

Note: The data items in working storage copyfiles are likely to be shared by more than one program, and so, to avoid conflicts, each of these common data items needs one owner.

There are two approaches to populating the group worksheet with the candidate points of interest (POIs):

For more information about group and local worksheets, see the chapter Using Worksheets.

Backing Up and Restoring the Group Worksheet

We recommend that you backup the group worksheet before making any changes.

You might need to restore a previous version of the worksheet if, for example, the new worksheet has some incorrect information or if there are many conflicts when merging. For further information look up Worksheet in the online help index.

Merging Local Worksheets into the Group Worksheet

The administrator is responsible for merging users' local worksheets into the group worksheet. Depending on the procedures in your organization, you can do this:

Before merging in users' changes, you must backup the group worksheet in case you decide to restore the previous version. You should also ensure that you have backup copies of the local worksheets that you are about to merge into the group worksheet. If you decide to restore the group worksheet after merging items from the local worksheets, you should also restore the backup copies of the local worksheets. Otherwise you may lose some of the information that was in the local worksheets before you merged them. See the section Backing Up and Restoring the Group Worksheet for details.

You use the Merge wizard to merge in the information from the users' local worksheets and to resolve any conflicts between the new entries and the existing ones. When you merge the worksheets:


Copyright © 2006 Micro Focus (IP) Ltd. All rights reserved.