Hitachi

JP1 Version 12 JP1/Service Support Configuration and Administration Guide


Configuration file for CSV (hptl_jp1_imss_csv_setting.properties)

Organization of this page

Description

This file defines how to handle linefeed characters in Item information CSV files and related information CSV files that are processed by the jssitemexportEx (exports extended Item information) and jssitemimportEx (imports extended Item information) commands.

For details about Item information CSV files and related information CSV files to be output, see jssitemexportEx (exports extended Item information) in Chapter 12.Commands.

Format

#Replace Linefeed code of CSV file
hptl_jp1_imss_replace_linefeed_flag=Convert a specific character into a linefeed character, or do not convert
hptl_jp1_imss_replace_linefeed_string="replaced-linefeed-character"

Lines starting with a hash mark (#) are treated as comments.

File names

Storage folder

JP1/SS-path\conf\

When the definition is applied

When you execute the jssitemexportEx (exports extended Item information) command or the jssitemimportEx (imports extended Item information) command, the definition is applied to JP1/Service Support.

What is described

Do not edit any keys other than those explained in the following table. Use an equal sign (=) to connect a key and its value.

Table 13‒5: List of property keys that can be set in the configuration file for CSV

Property key

Description

Default value

hptl_jp1_imss_replace_linefeed_flag

When you use the jssitemimportEx command to register Item information, specify whether to register it after converting a specific string (a value specified for hptl_jp1_imss_replace_linefeed_string) in the input file into a linefeed character. For elements for which you cannot specify a linefeed character, no conversion is performed.

  • true: Convert the string to a linefeed character.

  • false: Do not convert the string to a linefeed character.

When you use the jssitemexportEx command to output Item information, the linefeed character is converted to the value that is specified for hptl_jp1_imss_replace_linefeed_string regardless of the value of this property key.

true

hptl_jp1_imss_replace_linefeed_string

When you use the jssitemimportEx command to register Item information, if you want to replace a specific string with a linefeed character, specify the string you want to replace with a linefeed character.

When you use the jssitemexportEx command to output Item information, if you want to replace linefeed characters contained in the Item information with a specific string, specify the string after replacement.

Specifiable values are a string of 1 to 32 bytes. Specify them by using characters other than control characters (0x00 to 0x1F, and 0x7F), double-quotation marks ("), and commas (,).

In addition, the string you specify does not correspond to regular expressions.

[\r\n]

Notes

Definition example

The following is a definition example:

#Replace Linefeed code of CSV file
hptl_jp1_imss_replace_linefeed_flag=true
hptl_jp1_imss_replace_linefeed_string="[\n]"