Salesforce

Magic.ini File (Magic xpi 3.x)

« Go Back

Information

 
Created ByKnowledge Migration User
Approval Process StatusPublished
Objective
Description

Magic.ini File (Magic xpi 3.x)

The Magic.ini file contains all Magic xpi’s variable configuration information. The Magic.ini file must be present in the Magic xpi working directory for Magic xpi to start up. Most of the necessary configuration is done directly through Magic xpi, and the Magic.ini file is updated automatically.

To access the Magic.ini file:

  • From the Start menu, select Programs > Magic xpi Suite x.x > Configuration File > Magic.ini

The Magic.ini file is a free format text file that can be edited using any external text editor.

The Magic.ini file is split into sections. Each section contains a group of related settings. Some Magic.ini file sections are used by Magic xpi, and some contain User information. The sections of the Magic.ini file are:

[MAGIC_ENV]

The global environment parameters. Click here for more information.

[MAGIC_SERVERS]

The list of all the remote Servers available for the current installation. In addition, DBMS repository information is contained in this section.

[MAGIC_COMMS]

The list of Magic xpi communications drivers.

[MAGIC_DBMS]

The list of all the DBMSs supported by Magic xpi.

[MAGIC_DATABASES]

The list of all the databases supported by Magic xpi.

[MAGIC_LOGICAL_NAMES]

The environment variable value repository.

[MAGIC_PRINTERS]

The printer information.

[MAGIC_LANGUAGE]

The list of supported languages.

[MAGIC_SERVICES]

The list of Magic xpi projects available per Server.

[MAGIC_GATEWAYS]

The list of Magic xpi gateways.

[MAGIC_JAVA]

The information that the Magic xpi Server needs when working with Java. Click here for more information.

[MAGIC_LOGGING]

The Magic xpi logging settings.

[TOOLS_MENU]

The Magic xpi tools menu settings.

[MAGIC_BUILDERS]

The Magic xpi builders settings.

[MAGIC_IBOLT]

Magic xpi settings. Click here for more information.

[MAGICXPI_GS]

Magic xpi 4.x settings. Click here for more information.

The User sections of the Magic.ini file can contain any information that you want to store in it. Typical uses include:

  • The storage of intermediate values that the project produces, such as last positions in different files and programs (for example, 'Last customer processed') without the overhead of using database tables.

  • The storage of global variables. These are values that may be shared by different programs within the project.

There are no concurrency controls when accessing the Magic.ini file. If the Magic.ini file is shared by several users in a multi-user installation, it should be used for read-only purposes. An attempt to write to a shared Magic.ini file by more than one user at the same time will result in one user overwriting the updates of the other.

Note:

You should be very careful when making any changes to the Magic.ini file.

Reference
Attachment 
Attachment