The 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
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 will 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 Infor 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 will be logged.
-
No Connection information will not be 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 (Infor M3 BE repository) and responses are listed.