Job Management Partner 1/Asset Information Manager Planning and Setup Guide
This section describes the file format and specification format for, and provides specification examples of data files definition files for which the jamexport command is used to export object classes.
To export multiple asset data items in a batch operation, create a data files definition file. This section describes the format of a data files definition file, supported file format, character encoding, delimiters, and the location of delimiters.
You must create a data files definition file as a text file. In the file, specify the name of the target data file and the corresponding object class name.
To export an association class, specify the name of the target data file, corresponding association class name, and associated two object class names.
The figure below shows the specification format for a data files definition file.
Figure 7-8 Specification format for a data files definition file
The following describes the items specified in a data files definition file:
This section describes an example of specifying a data files definition file when object classes are exported using the jamexport command.
The figure below shows a specification example of a data files definition file:
Figure 7-9 Specification example of data files definition file (object class)
Line 1 indicates that the name of the data file is C:\temp\AssetInfo.csv and that the name of the object class is AssetInfo.
By executing the jamexport command, this example exports the entire contents of the object class AssetInfo to C:\temp\AssetInfo.csv.
The subsequent lines are processed in the same manner as with line 1.
This section describes an example of a data files definition file when association classes are exported using the jamexport command.
The figure below shows a specification example of a data files definition file.
Figure 7-10 Specification example of data files definition file (association class)
Line 1 indicates that the name of the data file is C:\temp\ContMLink.csv, that the name of the association class is ContractMaintenanceLink, and that the names of the associated object classes are AssetInfo and Contract.
By executing the jamexport command, this example exports the entire contents of the association class ContractMaintenanceLink to C:\temp\ContMLink.csv.
The subsequent lines are processed in the same manner as with line 1.
All Rights Reserved. Copyright (C) 2009, 2011, Hitachi, Ltd.