PSMI.INI file

The PSMI.INI file contains these elements:

[MVXSOCK]

ProtocolWrapperName=

ProtocolWrapperPort=

[GENERAL]

textconvert=

timeout=

[LOG]

type=

level=

info=

Lines starting with [!] are skipped.

The various options are explained further in these topics:
  • The [MVXSOCK] part
  • The [GENERAL] part
  • The [LOG] part

The [MVXSOCK] part

This part of the INI file contains options related to the Socket connection.

ProtocolWrapperName

The IP-address of the FPW or the Name given in setup of the Client Access.

ProtocolWrapperPort

The socket port of the FPW.

The [GENERAL] part

Textconvert

This option is used to specify if the text strings passed through the interface should be converted to OEM-ANSI.

The [LOG] part

This part of the INI file contains the following options related to the logging facility.

Type

This option is used to state if the log entries are to be added to an existing log file (if such exists) or if a new file should always be created (thereby deleting an existing file with the same name). The option can have these values:
  • New

    Always create a new log file.

  • Append

    New log entries are added to the existing log file.

File

This option is used to state the naming convention used for the log files. The option can have these values:
  • Name

    The log file is named psmi.log

  • Date

    A new log file is generated each day. The name is going to be psmimmdd.log, where mmdd is the month and day.

Performance

This option is used to state if performance measurements should be logged. The PSMI interface measures the time that is used to connect to M3 BE, the time it takes to read and interpret the parameter file, the number of times a statement is executed during a connection and the average time it took. If the statement is a SELECT statement, PSMI also measures the number of fetches. All measurements are in seconds. The option can have these values:
  • Yes

    Performance measurements are logged.

  • No

    Performance measurements are not logged.

Info

This option is used to state if various connection information should be logged. Information about the PSMI version, built date, parameter-, ini- and log-filename is all logged. The option can have these values:
  • Yes

    Connection information is logged.

  • No

    Connection information is not logged.

Level

This option is used to state at which level errors and warnings should be logged. The higher the value of the level the more information is included. This list shows the information added at the different log levels:
  • 0

    No errors or warnings are logged.

  • 2

    Warnings and information about used files and performance.

  • 5

    Data to/from server and all commands and replies regarding data in- and out- put.

  • 7

    Used parameter file listed.

  • 8

    Calls to MRS001 (M3 BE repository) and responses are listed.