Resets the connector document file name to its original file name.
Syntax
RESET CONNECTOR DOCUMENT «connector document»
Parameters
connector document | The name of a connector document. |
Comments
The RESET CONNECTOR DOCUMENT resets the filename for the connector document back to the value found in the Zim directory. The reset value will be used on all subsequent opens.
Example
reset connector document SMS_SEND
Marks the end of a procedure.
Syntax
ENDPROCEDURE
Comments
ENDPROCEDURE is used only in conjunction with a LOCALPROCEDURE or PROCEDURE command. It is the last command of a procedure in an application program.
See Also
LOCALPROCEDURE
PROCEDURE
Performs real-time and on-line backups of Zim databases.
Unix Syntax
[nohup] zimbackup [-k] &
Windows NT Syntax
[start] zimbackup [-k]
Parameters
-k | optional parameter to stop Zim Backup Server |
Comments
Zim Backup Server, working together with Zim Server, performs a real-time, online backup of any databases being serviced by Zim Server.
All modifications performed by Zim Server in a given database are subsequently applied to a copy of the database so that, in fact, there are two “live” databases, one which is the real database that Zim Server is managing to serve all users and a second one, which is an exact copy of the first one.
If something happens to the real database, Zim Backup Server can be stopped in the copy database, Zim Server can immediately start running in this copy database and users can reestablish their Zim sessions.
Before starting servicing users, Zim Server applies committed transactions to the backup database and then opens access to users.
Zim Backup can be stopped at any moment and let the backup databases be copied to another place. Later, Zim Backup can be restarted and all modifications to the real databases are applied in succession to the backup databases.
For operational details, refer to Database Backup.
Exits an application session and returns control to the operating system.
Syntax
BYE
Comments
The BYE command ends the current application session, when encountered.
If an application document called ZIMBYE exists and contains an application program, that program is automatically executed before the session ends. Depending on how you exit Zim, the zimbye is not necessarily executed. To ensure that the ZIMBYE application document is executed, exit Zim using the BYE command.
See Also
RETURN
STOP
Starts an explicit transaction.
Syntax
BEGIN WORK
Comments
This command is the SQL equivalent of the TRANSACTION command.
See Also
$InTransaction
COMMIT WORK
ROLLBACK WORK
TRANSACTION
Ends a transaction and writes all updates to the database.
Syntax
COMMIT WORK
Comments
This command is the SQL equivalent to the ENDTRANSACTION command.
See Also
$InTransaction
BEGIN WORK
ROLLBACK WORK
TRANSACTION
Indicates the operating system under which ZXCLIENT is currently running.
Syntax
$ClientOS
Return Value
A number according to the following table. It cannot be reset by an application program.
Value | Operating System |
---|
1 | Microsoft Windows |
4 | Linux in General |
5 | Android |
6 | iOS |
7 | OS X |
$DBPath
File system path to the directory in which the application database is stored.
Syntax
$dbpath
Return Value
A character string. Cannot be reset by an application program.
Description
The $DBPath function is set to the value of the DBPath entry in the registry, or the value of the [ZIM] environment variable. If neither of the preceding values is set, the variable is set to the null string (which is interpreted as the current disk directory).
To indicate the current DBPath directory in a file name, start the name with a double quotation mark (“) character.
Path to the disk directory containing image files for use in forms.
Syntax
$imagepath
Return Value
A character string. Cannot be reset by an application program.
Description
$ImagePath is set to the value of the ImagePath entry in the registry. If no value is provided in the file, the variable is set to the null string (which is interpreted as the current disk directory).
For image objects (fields) in forms, $ImagePath indicates the disk directory in which the image files can be found.
To indicate the current ImagePath directory in a file name, start the name with a caret (^) character.
File system path to the directory to be used for Cut, Copy, and Paste operations that involve user interface objects in the Screen Painter.
Syntax
$clippath
Return Value
A character string. Cannot be reset by an application program.
Description
$ClipPath is set to the value of the ClipPath entry in the registry, or the value of the [ZIM] environment variable. If neither of the preceding values is set, the variable is set to the null string (which is interpreted as the current disk directory).
To indicate the current ClipPath directory in a file name, start the name with a tilde (~) character.
Note: How $ClipPath is set depends on the operating system under which the software is running.