PANTHEON™ manual

 Categories
[Expand]User Manual for DataLab PANTHEON 5.5
 No formula defined!
[Collapse]Datalab PANTHEON 5.5 Guide
 [Expand]Orders
 [Expand]Settings
 [Expand]Manufacturing
 [Expand]Goods
 [Expand]Service
 [Expand]Financials
 [Expand]Personnel
 [Expand]ZEUS Business Intelligence System
 [Expand]Desktop
  Web Portals
  Extra
 [Collapse]Datalab Software System Environment
  [Expand]Security Policy
  [Expand]Installation
  [Expand]Task Scheduling
  [Collapse]PANTHEON System Environment
    Command Line Parameters
    .ini File
    Registry Entries
    Changing Localization
    SIGEN-CA Certificate
  [Expand]Datalab Utilities
  [Expand]Database Administration
 [Expand]Messages and Warnings
 [Expand]Additional Programs
 Opening or closing round bracket missing!
 Debugging Formulas
[Expand]Testing and Debugging Formulas
 Opening or closing square bracket missing!
 Conditional statement at position x not enclosed in square brackets!
 Syntax error in conditional statement. Correct syntax is [condition:value]
 Adjacent operators (xx)!
 Last character of the formula is an operator!
 Variable not enclosed in hashes (#)!
 Illegal characters: xyz
 Unknown error!
[Expand]User Manual for Datalab PANTHEON Farming
[Expand]User Site
 Adjacent hashes!
 The line number must be an integer (#xx#)!
 The first character of #xx# must be a transaction type or a column mark!
 The first character of #xx# must be an operation type (R, S, O or A)!
 The second character of #xx# must be a transaction type (D, K, S, P, or O)!
 Variable not defined
[Expand]Kralicek Quicktest Financial Ratios

Load Time: 423.4682 ms
print   |
Label

.ini File

.ini File

.ini File

PANTHEON's .ini file (by default named Pantheon.ini) specifies to which database server Pantheon.exe should connect to, and stores a list of avialable databases on that server. The list is update when you press the Resfresh button on the Logon screen. Using shortcuts and different .ini files allows you to connect to different servers with a single Pantheon.exe. See Command line parameters for specifying which .ini file should be used.

The installation places the default Pantheon.ini in the Windows folder. It is recommeded that you leave that file intact and alter copies of it.

Layout of the .ini File

[Program]
Uporabnik=AD
ZagonPrograma=11.12.2004
[Database]
Podjetje=Demo d.o.o. (DEMO)
DataBaseName=DEMO
ServerName=GIZMO
DataOnServer000=DEMO; (DEMO)
DataOnServer001=DEMO1; (DEMO1)

The .ini file has two sections: the Program section and the Database section.

Program section

[Program]
Section title
Uporabnik=AD
Last user who logged on
ZagonPrograma=11.12.2004
Date and time of last logon

Database section

[Database]
Section title
Podjetje=Demo d.o.o. (DEMO)
Last used database.
DataBaseName=DEMO
Database name on database server
ServerName=GIZMO
Database server name or its IP address
DataOnServer000=DEMO; (DEMO)
DataOnServer001=DEMO1; (DEMO1)
...
DataOnServerNNN=...
List of all databases on the above specified database server. This list is updated everytime you press the Refresh button on the Logon screen.
The rationale behind this list is that this way, PANTHEON does not need to look for available databases everytime it is started.

 

Using .ini Files for Connecting to Different Servers

Let us assume we have two database servers with the IP addresses 192.168.0.1 and 192.168.0.2, and you need to be able to connect to different databases on each of the servers.

First, you need two separate .ini files. They can be placed anywhere, but it is most convenient to put them in PANTHEON's installation folder.

All you have to do here is to set the ServerName parameter to the appropriate server name (and instance, if required) or IP address.

Pantheon_1.ini

[Program]
Uporabnik=AD
ZagonPrograma=11.12.2004
[Database]
Podjetje=Demo d.o.o. (DEMO)
DataBaseName=DEMO
ServerName=192.168.0.1
DataOnServer000=DEMO; (DEMO)

Pantheon_2.ini

[Program]
Uporabnik=AD
ZagonPrograma=11.12.2004
[Database]
Podjetje=Demo2 d.o.o. (DEMO2)
DataBaseName=DEMO2
ServerName=192.168.0.2
DataOnServer000=DEMO2; (DEMO2)

 

Second, you have to create two shortucts to the same Pantheon.exe, but each pointing to a different .ini file:

"C:\Program Files\DataLab\Pantheon.exe" /INI="C:\Program Files\DataLab\Pantheon_1.ini"
"C:\Program Files\DataLab\Pantheon.exe" /INI="C:\Program Files\DataLab\Pantheon_2.ini"

Now you just have to run the appropriate shortcut.




Rate this topic
Was this topic usefull?
Comments
Comment will also bo visible in forum!