Category: ZIM PRIVATE APPLICATION SERVER

The Original Internet Language

Python API to Talk to a Zim Database

Installation After the full ZIM installation, copy the file zimapi.py from the ZIM directory to wherever directory is needed to run Python. Globals No globals available for Python at this point. Constructors import zimapi import os zim = zimapi.Zimapi() zim = zim.connect(dbname=”database name”[, host=”host address”][,port=port number][, user=”ZIM”][, password = “”]) print(zim.state) zim.close() Alternatively: import zimapi…
Read more

C-Sharp API to talk to a Zim Database

Installation After the full ZIM installation, copy the file zimapi.cs from the ZIM directory to wherever directory is needed to start developing your C-Sharp application. Globals TOP = indicate the first tuple (row or record) from a set of recordsBOTTOM = indicate the last tuple (row or record) from a set of recordsUTF8 = indicate…
Read more

Web Port Number

web port number port This configuration option establishes the port number used by Zim applications running on a Web browser. It’s reserved for future use. Valid Settings A number from 1024 to 32765. Windows 6005 UNIX 6005

Java Options

java options <options> The options are any valid parameters that are understood by Java when a Java instance is started. This occurs when ZimServer performs a connection to the JDBC Driver or JDBC SAM. The valid options are the ones described by the Java documentation. Example java options “-Xmx64M”

Backup Server Name

backup server name <name or IP address> The name or IP address is the location in the network where ZimBackup Server is responding to perform an online application of the data just updated by ZimServer. These files correspond to committed transactions from all databases being served by Zim Server and can be placed anywhere in…
Read more

Backup Port Number

backup port number <port number> The backup port number establishes the port number used by Backup Server to interact with Zim Server when applying the backup blocks to the backup databases. Together with Backup Server Name, Zim Server establishes a connection to ZimBackup to keep sending backup blocks of data as soon as these data…
Read more

Maximum Log Size

maximum log size file-size The number file-size, expressed in Kb, indicates the maximum size the log file ZIMSVLOG.ZIM can reach until ZimServer shuts itself down. This is to prevent the disk space be entirely used for logging. Valid Settings A number from 1,000 to 10,000,000 (or, between 1 Mb and 10 Gb) for both Windows…
Read more

Python Connection

#pip3 -> python 3.9 # – Instalar com pip3 #pip3 install JayDeBeApi –user #pip3 install JPype1==0.6.3 –user import jaydebeapi #variables to connect to zimjdbc8.jar jclassname=’zim.jdbc.ZJ_Driver’ jdbc_driver_loc = r’C:\Users\xxx\Documents\p01\zimjdbc8.jar’ jdbc_driver_name = ‘zim.jdbc.ZJ_Driver’ host=’localhost:6002′ #url and login variables url=’jdbc:zim://’ + host + ‘/zimdb01’ login=”ZIM” psw=”” #sql to be executed at the Zim’s side. sql = “SELECT codie,…
Read more

The ZIMSVLOG.ZIM file

The log file zimsvlog.zim, located in the directory pointed to by the ZIM environment variable, records all events happening with Zim Server like, its start, its end, errors, tracing, and other information. You can browse its contents using a text editor or using ZimAdmin. After some time using ZimServer, this file can become very large.…
Read more

DDE Services

Zim provides DDE services for applications through the function $DDEFunction. These DDE services include the ability to send data to another application, retrieve data from another application, and pass commands to another application. While you can write your own implementation of $DDEFunction, Zim provides a standard implementation in the form of a Dynamic Link Library…
Read more

en_CAEnglish