ReadMe:
Sav ZBase 6.0 2003/09
Copyright (c) 1998-2003 Technopoles-M

Built on the Sav Processor 7.0 (c) 1997-2003 Technopoles-M
Includes Sav ZAPI 6.0 (c) 1998-2003 Technopoles-M
Non-compatible with Sav ZBase 5.3 (c) 1998-2003 Technopoles-M
  ------------------------------------------------------------------------

TOOLS

   * Sav ZBase desktop Win32 environment for Zigzag developers of Z
     database. It consists of:
        o Interpreter, allows editing and debugging Zigzag scripts, helps
          to develop Z database in interactive regime.
        o Navigator, displays table view of relations in Z database, allows
          to construct OR/AND Zigzag queries by means of selecting
          attribute names and values.
        o Importer, exports tabular data from Z database.
        o Exporter, imports tabular data to Z database.
   * Sav ZAPI interface with Z database for Java programmers (class
     library).

REQUIREMENTS

   * RAM: 32MB
   * Win32
   * Java 2: See http://java.sun.com/j2se/.

FILES

 Lib/        Library: ZBase (savb.jar), ZAPI (savza.jar), XML (jaxp.jar,
             crimson.jar)
 Doc/        Documentation in html format
 Demo/       ZBase demo data: Z scripts (*.z), Z databases (*.ass), Z
             table data (*.tab), command files (*.bat)
 Examples/   ZAPI examples

INSTALLING

     Unpack SavZBase directory.
     If need, change batches (*.bat files for win95).

STARTING

   * ZBase Interpreter (demo\interpret.bat)
     java -classpath
     ../Lib/savb.jar;../Lib/savza.jar;../Lib/jaxp.jar;../Lib/crimson.jar;%CLASSPATH%
     Sav.Base.Interpreter
   * ZBase Navigator (demo\navigate.bat)
     java -classpath ../Lib/savb.jar;../Lib/savza.jar;%CLASSPATH%
     Sav.Base.Navigator
   * ZBase Exporter (demo\export.bat)
     java -classpath ../Lib/savb.jar;../Lib/savza.jar;%CLASSPATH%
     Sav.Base.Exporter <db_path> <file_path> [<request> [<key_column_name>
     [<column_name> ...]]]
     Where:
     <file_path> ::= <directory> | <.tab file>
     <request> ::= <Z expression, for example R:r>
     <key_column_name> ::= <class name, for example R>
     <column_name> ::= <Z expression, perhaps many of names, for example
     (R)~A1>
     Example:
     java Sav.Base.Exporter Common.ass Common
     or
     java Sav.Base.Exporter Common.ass Common/DS.tab "database system:*"

   * ZBase Importer (demo\import.bat)
     java -classpath ../Lib/savb.jar;../Lib/savza.jar;%CLASSPATH%
     Sav.Base.Importer [<options>] <db_path> <file_path>
     [<key_column_number> [<column_number> ...]]
     Where:
     <options> ::= -r[ead] | -a[nalyse]
     <file_path> ::= <directory> | <.tab file>
     Example:
     java Sav.Base.Importer Common.ass Common
     or
     java Sav.Base.Importer Common.ass Common/DS.tab

   * ZAPI (examples\javaz\s.bat)
     See Java source examples in javaz/, test (s.bat) and adapt them

INTERNATIONALIZATION

     If need to change default char set of JVM,
     1. correct font.properties,
     2. start java with parameter -Dfile.encoding.

     Example for Russian fonts:
     cd %JAVA_HOME%\lib
     copy font.properties.ru font.properties
     cd C:\SavZBase
     java -classpath ... -Dfile.encoding=Cp1251 Sav.Base.Navigator

  ------------------------------------------------------------------------

Technopoles-M
http://savtechno.com

