Administrator Command
Reference Manual
Command Details
:
Detailed Descriptions of Commands
: DUPLICATENAMES (Global Project Administration)
DUPLICATENAMES (Global Project Administration)
Function
:
Checks for elements with duplicate names in the Project.
Description
:
You can specify all Databases in the Project or a list.
The process takes place in several stages, using different variations of the command. A typical sequence is shown in the Examples.
Example of Command Sequence:
DUPLIC START
Initialise memory allocation etc.
DUPLIC FILE /filename
Specify file for report. If this command is not given, the report will be sent to the screen.
DUPLIC INCLUDE ALL
Include all the Databases in the project in the check.
DUPLIC EXCLUDE DB dbname dbname ...
Exclude the named Databases from the check.
DUPLIC CHECK
Perform duplicate name check on the Databases specified in the
INCLUDE
and
EXCLUDE
options, and exit. The list of Databases to be checked will be emptied.
If you want to do another check, you must give the DUPLIC START command again, re-define the list of Databases you wish to check, and give the DUPLIC CHECK command again.
Other Examples:
Other options which you can use to set up the list of Databases are as follows:
DUPLIC INCLUDE DB dbname dbname ...
Include the named Databases in the check.
DUPLIC INCLUDE CLEAR
Remove all entries in INCLUDE list
DUPLIC INCLUDE LIST
List all entries in INCLUDE list
DUPLIC EXCLUDE CLEAR
Remove all entries in EXCLUDE list
DUPLIC EXCLUDE LIST
List all entries in EXCLUDE list
The output reports the element name and the DB reference number and DB number for each of the duplicates, for example:
/00NEB0SED =15196/3964, 7004, =15192/24230, 7000
/00NEB0SFD =15196/3965, 7004, =15192/24231, 7000
/00NEB0SFE =15196/3966, 7004, =15192/24232, 7000
If both MASTER and COPY DBs occur in the list then the DB refs and nos will be identical. If necessary, use the LIST DBS command to associate a DB name with a DB number.
Command Syntax:
>--- DUPLICatenames START --->
>--- DUPLICatenames FIle filename --->
>--- DUPLICatenames INclude ---+--- ALL ---------------------.
| |
| .----<-------. |
| / | |
|--- DB ---*--- dbname ---+---|
| |
|--- LIST --------------------|
| |
‘--- CLEAR -------------------+--->
.----<-----------.
/ |
>--- DUPLICatenames EXclude ---+--- DB ---*--- dbname -------+
| |
|--- LIST --------------------|
| |
‘--- CLEAR -------------------+--->
>--- DUPLICatenames CHECK --->
1974 to current year.
AVEVA Solutions Limited and its subsidiaries. All rights reserved.