Hitachi

JP1 Version 12 JP1/Service Support Configuration and Administration Guide


Configuration file for character string substitution (jp1imss_replace_string_setting.conf)

Organization of this page

Description

This file defines whether to replace a string contained in a textarea type element of an Item to be registered with a linefeed character when the Item is registered by using the Item registration (jssitementry) command.

Format

;comment (Linefeed)
[REPLACE]
REPLACE_FLAG=Whether to convert a string to a linefeed character(Linefeed)
REPLACE_STRING=A string to be converted to a linefeed character(Linefeed)

Lines starting with a semicolon (;) are treated as comments.

Legend:

(Linefeed): Indicates a linefeed character.

File names

Storage folder

JP1/SS-path\conf\command\

When the definition is applied

The definition is applied when the jssitementry command is executed.

What is described

You can specify the specification keys described in the table below. Use an equal sign (=) to connect a specifiable key and its value.

Table 13‒68: List of specification keys that can be set in the Configuration file for character string substitution

Specification key name

Description

Default value

REPLACE_FLAG

When you use the jssitementry command to register an Item, specify whether to replace a string (a value specified by REPLACE_STRING) contained in a textarea type element of an Item with a string for registration. Note that the string is not replaced for elements (other than textarea-type elements) for which a linefeed character cannot be specified.

  • true: Convert to a linefeed character.

  • false: Do not convert to a linefeed character.

false

REPLACE_STRING

When you use the jssitementry command to register an Item, if you want to replace a string contained in a textarea-type element of an Item with a linefeed character, specify the string you want to replace with a linefeed character.

Specify a string that is one to 32 bytes long and does not contain control codes, double quotation marks ("), and commas (,).

[\r\n]

Notes

Definition example

The following example replaces [\r\n] with a linefeed character:

[REPLACE]
REPLACE_FLAG=true
REPLACE_STRING=[\r\n]