Professional Documents
Culture Documents
Signature
Date
23-MAR-11
Verified by:
Approved by:
DOCUMENT REVISION HISTORY
Rev
Status
Amendment/Reason
Date
Author
ISSUED
Initial Creation
22-NOV-04
Tony Mahaffey
ISSUED
23-MAR-11
Tony Mahaffey
DISTRIBUTION LIST
Name
Tony Mahaffey
Cloudis Ltd
Function
Author
This document has been prepared specifically for Confidential Use. It remains the property of Cloudis Ltd and
its contents may not be disclosed to any third party without prior consent.
1 Introduction
The Termination Import Utility allows for termination data, which has been created/maintained outside of the
CMPIC application, to be loaded into the Terminations area of CMPIC.
As from CMPIC R6.09.2, the functionality of the import facility has been extended to permit updating of
termination information, where previously this was prevented if the termination information already existed.
2 Data Requirements
Termination data is presented in CSV (Comma Separated Values) format, which is easily reproducible from the
majority of spreadsheet applications. The data must be supplied with the following field layout:
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.
13.
14.
15.
16.
17.
18.
19.
Cable ID1
NSN1
From device ID1
From end termination1
From end entry no
From end entry type
From end entry ID
To device ID1
To end termination1
To end entry no
To end entry type
To end entry ID
Core sequence number12
Core ID1
Line reference
Signal ID3
Signal description
Signal type
Signal phase
Spare cores can be identified by populating the signal field with the spare core identifier (defined within
Project Defaults CMSF08). Spare cores require no other fields to be populated, other than the mandatory fields
highlighted.
Document No: UM/04005
Revision: 2
Page 2 of 5
3 Data Import
Screen CMIF06 provides the facility to define the filename and path of the CSV file containing terminations
data, as well as any specific configuration details of the file layout. These details are stored when the import is
initiated, so can be re-used for future import activities (Note: the stored values are relative to a specific project
and may be changed by other users):
Delimiter - The value used to identify a break between fields. For CSV files, this is usually a comma,
although certain applications allow for alternatives to be used. In the event that the delimiter is not
listed, the Other option should be selected, and the delimiter entered in the field provided. Care
should be taken when using this option.
Qualifier A Yes/No field to identify if fields have been enclosed by (single or double) quotes. Certain
applications do not use qualifiers unless one or more fields contain the delimiter character.
Import When pressed, the file is accessed & the data contained within is loaded to a temporary
holding area, for use within screen CMIF07 (see next Section). Any problems with access will be
reported via a standard alert message, as will information on number of records processed etc. Once
the data has been loaded, control passes automatically to CMIF07.
Revision: 2
Page 3 of 5
4 Process Data
After the termination data has been transferred from the CSV file into CMPIC, screen CMIF07 allows for this
data to be manipulated (including deletion of records) & subsequently processed. The screen is called via
CMIF06 following a successful load of the data, and can also be called directly from the Navigator:
The data loaded from the CSV file is presented, along with a traffic light status indicator (showing red in the
screen-shot above), and a field identifying the status of the record. The traffic light has 3 possible values,
which can be used in conjunction with the record status to determine a possible action:
Red Record cannot be loaded/processed. The record status may be one of the following:
o
Cable does not exist the Cable ID does not correspond to a record in the Cable Schedule.
Cable status prevents update the termination status of the cable prevents update; if the
complete flag is set (i.e. a value of Part or Yes) for any vessel (multi-vessel projects only) at
both ends, this must prevent update. Updates will only be processed for a cable end if its
Complete flag is set to No for all vessels (multi-vessel projects only).
Cable already has entry an entry already exists for this cable at both ends.
From/To Device cancelled changes are not permitted if the cable is linked to a cancelled
device.
Revision: 2
Page 4 of 5
Amber This represents two possible states for the record. The first possible state is that the
record cannot be loaded in its current condition, but may load once the specific problem (highlighted in
record status field) is corrected. Such corrections may either be carried out against the source file (and
reloaded via CMIF06) or amended directly within this screen. In the latter case, the record status is reevaluated on save. The record status may be one of the following:
o
Mandatory fields empty either (a) one of the mandatory fields (as defined in Section 2)
has not been set, or (b) an entry no has been entered, but the entry type or entry id is
missing, or (c) the signal ID has been entered, but signal type is missing.
NSN/Pattern differs the NSN/Pattern defined against the cable in the Cable Schedule is
not the same as the value loaded.
Core is invalid the core does not exist against the NSN/Pattern in the Cable Types screen.
Device(s) differ the cable from/to device does not match the Cable Schedule definition.
Invalid entry type the entry type can only be one of PLUG, SOCKET, CLAMP, HOLE, or the
Gland Entry value defined in Project Defaults (CMSF08), if set.
Signal descriptions differ the signal exists within CMPIC, however the description given in
the imported file does not match that stored.
Amber The second state is that the record is OK, and can be processed, however the status of the
existing data in CMPIC means some portion of the record cannot be loaded/updated. Possible statuses
are:
o
OK (From Entry/terms will not load) an entry already exists for this cable at the From
End. This means the From End information will be ignored in the data load/update process.
OK (To Entry/terms will not load) an entry already exists for this cable at the To End.
This means the To End information will be ignored in the data load/update process.
OK (status may prevent changes) the status of the cable means some data will not be
processed; a Complete flag is set to Yes/Part on one or more vessels (where applicable on
multi-vessel projects), which means that end of the cable will not be processed.
Once the user is happy that records are at a suitable status, pressing the Load Data button will process them.
If the Trace checkbox is active, a trace file of all activity will be created in the temporary directory4.
Records that have been successfully processed are removed from the screen, and a suitable message detailing
the count of records processed is shown.
NOTE: The records loaded by screen CMIF06 are registered against the current CMPIC user, and are not visible
to other users within the system. They will be held until such time as they are processed, or the same CMPIC
user initiates a fresh import.
The temporary directory is set using the Registry or environmental variable ICE_TEMP, and is usually set to be
C:\TEMP or /tmp for Windows and Unix installations respectively.
Document No: UM/04005
Revision: 2
Page 5 of 5