Transactions like ALTER INDEX or CREATE INDEX are log intensive by nature. We cannot eliminate the log generation but we can do intelligent maintenance to reduce the impact of the index rebuild on production activities. Here are some steps to minimize the impact:

Mitigation Steps From Index Maintenance Perspective

The following strategies may reduce the contention index rebuilding has on your production environment:

Mitigation Steps From Availability Group Perspective

For synchronous commit environments, before issuing long and log-intensive transactions like ALTER INDEX or CREATE INDEX, you may additionally consider to make all synchronous replicas asynchronous to help reduce the transactional latency. Once the index rebuild transactions are completed, the commit mode should be switched back to synchronous.

For both SYNCHRONOUS AND Asynchronous environments, in general any step that can help with redo performance will positively impact long and log-intensive transactions on AG environments. Here are some key points to keep in mind:

REFERENCES

This markdown can be generated using the command: sakoe manual export-md.
This version has been generated on 19-04-26 at 19:02:13.

ABOUT

What is this tool

SAKOE is a collection of tools aimed to simplify your work in Openedge environments.

About this manual

The goal of this manual is to provide KEY concepts that are necessary to understand to use this tool to its fullest.
Each command is well documented on its own, don’t be afraid to use the --help option.

Command line usage

How to use this command line interface tool:

Response file parsing

Instead of using a long command line (which is limited in size on every platform), you can use a response file that contains each argument/option that should be used.
Everything that is usually separated by a space in the command line should be separated by a new line in the file.In response files, you do not have to double quote arguments containing spaces, they will be considered as a whole as long as they are on a separated line.
sakoe @responsefile.txt

Exit code

The convention followed by this tool is the following.

Website

The official page of this tool is: https://jcaillon.github.io/Oetools.Sakoe/.
You are invited to STAR the project on github to increase its visibility!

TABLE OF CONTENT

COMMANDS OVERVIEW

Full command lineShort description
sakoe databaseDatabase manipulation tools.
sakoe database adminThe openedge database administration tool.
sakoe database admin runRun an instance of the database administration tool.
sakoe database analysisRegroup commands related to database analysis.
sakoe database analysis adviseGenerates an html report which provides pointers to common database configuration issues.
sakoe database analysis reportDisplays an analysis report.
sakoe database backupBackup a database into a single file for a future restore.
sakoe database before-imageOperate on database before-image file.
sakoe database before-image truncateTruncate the before-image of a database.
sakoe database busyCheck the usage mode of a database (busy mode).
sakoe database checkCheck if a database is alive.
sakoe database connectGet the connection string to use to connect to a database.
sakoe database copyCopy a database.
sakoe database createCreates a new database.
sakoe database dataOperate on database data.
sakoe database data dumpDump the database data in plain text files (.d).
sakoe database data dump-binaryDump data in binary format from a database.
sakoe database data dump-sequenceDump the database sequence data in a plain text file (.d).
sakoe database data dump-sqlDump data in SQL-92 format from a database.
sakoe database data loadLoad the database data from plain text files (.d).
sakoe database data load-binaryLoad the database data from binary format files.
sakoe database data load-bulkLoad the database data from plain text files (.d).
sakoe database data load-sequenceLoad the database sequence data from a plain text file (.d).
sakoe database data load-sqlLoad the database data from SQL-92 format files (.dsql).
sakoe database data truncateDeletes all the data of a given table.
sakoe database datadiggerDataDigger is a tool for exploring and modifying the data of a database.
sakoe database datadigger installInstall DataDigger in the default installation path.
sakoe database datadigger removeRemove DataDigger from the installation path.
sakoe database datadigger runRun a new DataDigger instance.
sakoe database deleteDelete a database.
sakoe database dictionaryThe openedge database dictionary tool.
sakoe database dictionary runRun an instance of the dictionary tool.
sakoe database indexOperate on database indexes.
sakoe database index rebuildRebuild the indexes of a database. By default, rebuilds all the active indexes.
sakoe database killKill the broker/server processes running for a particular a database.
sakoe database kill-allKill all the broker/server processes running on this machine.
sakoe database logOperate on database log files (.lg).
sakoe database log truncateTruncates the log file.
sakoe database projectOperates on databases belonging to a project.
sakoe database repairRepair/update the database control information file (.db).
sakoe database restoreRestore a database from a backup file.
sakoe database schemaOperate on database schema.
sakoe database schema dumpDump the schema definition (.df) of a database.
sakoe database schema dump-customDump the schema definition in a custom format.
sakoe database schema dump-incDump an incremental schema definition (.df) by comparing 2 databases.
sakoe database schema dump-inc-dfDump an incremental schema definition (.df) by comparing 2 .df files.
sakoe database schema dump-sqlDump the SQL-92 schema of a database.
sakoe database schema loadLoad a schema definition (.df) to a database.
sakoe database startStart a database in order to use it in multi-users mode.
sakoe database stopStop a database that was started for multi-users.
sakoe database structureOperate on a database structure file (.st).
sakoe database structure addAppend the extents from a structure file (.st) to a database.
sakoe database structure generateGenerate the structure file (.st) from a definition file (.df).
sakoe database structure removeRemove storage areas or extents.
sakoe database structure updateCreate or update a structure file (.st) from the database .db file.
sakoe database structure validateValidate a structure file (.st) against a given database.
sakoe manualThe manual of this tool. Learn about the usage and key concepts of sakoe.
sakoe progressProgress utilities commands.
sakoe progress exe-pathReturns the full path of the progress executable.
sakoe progress generate-dsGenerate a dataset definition from a xsd/xml file.
sakoe progress helpAccess the Openedge help.
sakoe progress help listList all the .chm files (windows help files) available in $DLC/prohelp.
sakoe progress help messageDisplay the extended error message using an error number.
sakoe progress help openOpen an help file (.chm) present in $DLC/prohelp.
sakoe progress help searchSearch for a keyword in the language windows help file.
sakoe progress read-iniGet the PROPATH value found in a .ini file.
sakoe progress read-pfGet a single line argument string from a .pf file.
sakoe progress versionGet the version found for the Openedge installation.
sakoe progress wsdl-docGenerate an html documentation from a wsdl.
sakoe projectCommands related to an Openedge project (.oe directory).
sakoe project buildBuild automation for Openedge projects.
sakoe project git-ignoreInitialize a .gitignore file adapted for sakoe projects (or append to, if it exists).
sakoe project initInitialize a new Openedge project file (.oeproj.xml).
sakoe project listList all the project files or list the build configurations in a project file.
sakoe project projectOperates on databases belonging to a project.
sakoe project project createTODO : repair database
sakoe project updateUpdate the Project.xsd file of the project with the latest version embedded in this tool.
sakoe toolManage external tools usable in sakoe.
sakoe tool datadiggerDataDigger is a tool for exploring and modifying the data of a database.
sakoe tool datadigger installInstall DataDigger in the default installation path.
sakoe tool datadigger removeRemove DataDigger from the installation path.
sakoe tool datadigger runRun a new DataDigger instance.
sakoe updateUpdate this tool with the latest release found on github.
sakoe versionShow the version information of this tool.

ABOUT THE BUILD COMMAND

Overview

With sakoe, you can ‘build’ your project. A build process is a succession of tasks that (typically) transform your source files into a deliverable format, usually called a release or package.
In sakoe, you describe a build process using a ‘build configuration’. A build configuration holds ‘properties’ of the build (for instance, the path to the openedge installation directory $DLC). It also holds the list of ‘tasks’ that will be executed successively during the build process.
To illustrate this, here is a possible build process:
In order to store these build configurations, sakoe uses project files: .oeproj.xml.You can create them with the command: sakoe project init.
By default, a build is ‘incremental’.An incremental build is the opposite of a full build. In incremental mode, only the files that were added/modified/deleted since the previous build are taken into account. Unchanged files are simply not rebuilt.
The chapters below contain more details about a project, build configuration, properties and tasks.

Project

An Openedge project (typically, your project is your application, they are synonyms).
Some facts:
Below is a simplified representation of a project file: Project
There are no upper limit for build configuration nesting.The idea is that nested build configuration inherit properties from their parent, recursively (more details on the build configuration help).

Build configuration

A list of build configurations for this project.
Some facts:
Below is a simplified representation of a build configuration: Build configuration
Inheritance of build configurations (think of russian dolls):
Practical example: Given the project below:
Project
We decide to build ‘Child build configuration 2’:

Build configuration variables

The variables of this build configurations.
Some facts:
Special variables are already defined and available to use:

Build configuration properties

The properties of this build configuration.
Some facts:

Build steps

A list of steps to build your application.
Some facts:
There are 3 kinds of steps:

SAKOE DATABASE

Synopsis

Database manipulation tools.

Usage

sakoe database [options] [command]

Options

Short nameLong nameDescription
-h--helpShow this help text.

Commands

Short nameLong nameDescription
amadminThe openedge database administration tool.
ananalysisRegroup commands related to database analysis.
babackupBackup a database into a single file for a future restore.
bibefore-imageOperate on database before-image file.
bubusyCheck the usage mode of a database (busy mode).
ckcheckCheck if a database is alive.
cnconnectGet the connection string to use to connect to a database.
cpcopyCopy a database.
crcreateCreates a new database.
dadataOperate on database data.
dddatadiggerDataDigger is a tool for exploring and modifying the data of a database.
dedeleteDelete a database.
dtdictionaryThe openedge database dictionary tool.
idindexOperate on database indexes.
kikillKill the broker/server processes running for a particular a database.
kakill-allKill all the broker/server processes running on this machine.
lglogOperate on database log files (.lg).
prprojectOperates on databases belonging to a project.
rerepairRepair/update the database control information file (.db).
rsrestoreRestore a database from a backup file.
scschemaOperate on database schema.
sastartStart a database in order to use it in multi-users mode.
sostopStop a database that was started for multi-users.
ststructureOperate on a database structure file (.st).

SAKOE DATABASE ADMIN

Synopsis

The openedge database administration tool.

Usage

sakoe database admin [options] [command]

Options

Short nameLong nameDescription
-h--helpShow this help text.

Commands

Short nameLong nameDescription
rnrunRun an instance of the database administration tool.

Description

The default sub command for this command is run.

SAKOE DATABASE ADMIN RUN

Synopsis

Run an instance of the database administration tool.

Usage

sakoe database admin run [options] [-- <extra pro args>...]

Options

Short nameLong nameDescription
-d--detachedUse this option to immediately return to the prompt instead of waiting the for the program to exit.
-c--connection <args>(Can be used multiple times) A connection string that can be used to connect to one or more openedge database. The connection string will be used in a CONNECT statement.
-f--file <path>(Can be used multiple times) Path to a database (.db file). The .db extension is optional and the path can be relative to the current directory. Defaults to a list of path of all the .db file found in the current directory.
-cp--cp-params <args>Database server internationalization startup parameters such as -cpinternal codepage and -cpstream codepage. This option will be used for openedge commands that support them (_dbutil, _mprosrv, _mprshut, _proutil).
-dl--dlc <dir>The path to the directory containing the Openedge installation. Will default to the path found in the OE_DLC or DLC environment variable if it exists.
-vb--verbosity[:level]Sets the verbosity of this command line tool. To get the ‘raw output’ of a command (without displaying the log), you can set the verbosity to none. Specifying this option without a level value sets the verbosity to debug. Not specifying the option defaults to info. Optionally, set the verbosity level for all commands using the environment variable OE_VERBOSITY.
-lo--log-output[:file]Output all the log message in a file, independently of the current verbosity. This allow to have a normal verbosity in the console while still logging everything to a file. Specifying this option without a value will output to the default file sakoe.log.
-wl--with-logoAlways show the logo on start.
-pb--progress-bar <mode>Sets the display mode of progress bars. Specify off to hide progress bars and stay to make them persistent. Defaults to on, which show progress bars but hide them when done.
-h--helpShow this help text.

SAKOE DATABASE ANALYSIS

Synopsis

Regroup commands related to database analysis.

Usage

sakoe database analysis [options] [command]

Options

Short nameLong nameDescription
-h--helpShow this help text.

Commands

Short nameLong nameDescription
adadviseGenerates an html report which provides pointers to common database configuration issues.
rereportDisplays an analysis report.

SAKOE DATABASE ANALYSIS ADVISE

Synopsis

Generates an html report which provides pointers to common database configuration issues.

Usage

sakoe database analysis advise <report-file> [options]

Arguments

ArgumentDescription
<report-file>Path to the output html report file that will contain pointers to common database configuration issues. The extension is optional but it will be changed to .html if it is incorrectly provided.

Options

Short nameLong nameDescription
-a--analysis-file <file>The file path to a database analysis output. If empty, the analysis will be carried on automatically if the database is local.
-u--unattendedDo not open the html report with the default browser after its creation.
-c--connection <args>A connection string that can be used to connect to an openedge database. The connection string will be used in a CONNECT statement.
-f--file <file>Path to a database (.db file). The .db extension is optional and the path can be relative to the current directory. Defaults to the path of the unique .db file found in the current directory.
-cp--cp-params <args>Database server internationalization startup parameters such as -cpinternal codepage and -cpstream codepage. This option will be used for openedge commands that support them (_dbutil, _mprosrv, _mprshut, _proutil).
-dl--dlc <dir>The path to the directory containing the Openedge installation. Will default to the path found in the OE_DLC or DLC environment variable if it exists.
-vb--verbosity[:level]Sets the verbosity of this command line tool. To get the ‘raw output’ of a command (without displaying the log), you can set the verbosity to none. Specifying this option without a level value sets the verbosity to debug. Not specifying the option defaults to info. Optionally, set the verbosity level for all commands using the environment variable OE_VERBOSITY.
-lo--log-output[:file]Output all the log message in a file, independently of the current verbosity. This allow to have a normal verbosity in the console while still logging everything to a file. Specifying this option without a value will output to the default file sakoe.log.
-wl--with-logoAlways show the logo on start.
-pb--progress-bar <mode>Sets the display mode of progress bars. Specify off to hide progress bars and stay to make them persistent. Defaults to on, which show progress bars but hide them when done.
-h--helpShow this help text.

Description

This command uses the Database Advisor which can be found here: http://practicaldba.com/dlmain.html.
The OpenEdge Database Advisor is intended to provide a quick checkup for common database configuration issues. Obviously proper tuning for an application requires much more than any tool can provide, but the advisor should highlight some of the most common low hanging fruit.
For best results you will need a recent database analysis file (proutil -C dbanalys) and you should run this against your production database. A large portion of the suggestions will be based on VST information that will differ greatly between your production and test environments.

SAKOE DATABASE ANALYSIS REPORT

Synopsis

Displays an analysis report.

Usage

sakoe database analysis report [options]

Options

Short nameLong nameDescription
-o--options <args>Extra options for the proutil dbanalys command
-a--access <args>Database access/encryption arguments: [[-userid username [-password passwd ]] | [ -U username -P passwd] ] [-Passphrase].
-f--file <file>Path to a database (.db file). The .db extension is optional and the path can be relative to the current directory. Defaults to the path of the unique .db file found in the current directory.
-cp--cp-params <args>Database server internationalization startup parameters such as -cpinternal codepage and -cpstream codepage. This option will be used for openedge commands that support them (_dbutil, _mprosrv, _mprshut, _proutil).
-dl--dlc <dir>The path to the directory containing the Openedge installation. Will default to the path found in the OE_DLC or DLC environment variable if it exists.
-vb--verbosity[:level]Sets the verbosity of this command line tool. To get the ‘raw output’ of a command (without displaying the log), you can set the verbosity to none. Specifying this option without a level value sets the verbosity to debug. Not specifying the option defaults to info. Optionally, set the verbosity level for all commands using the environment variable OE_VERBOSITY.
-lo--log-output[:file]Output all the log message in a file, independently of the current verbosity. This allow to have a normal verbosity in the console while still logging everything to a file. Specifying this option without a value will output to the default file sakoe.log.
-wl--with-logoAlways show the logo on start.
-pb--progress-bar <mode>Sets the display mode of progress bars. Specify off to hide progress bars and stay to make them persistent. Defaults to on, which show progress bars but hide them when done.
-h--helpShow this help text.

Description

An analysis report is the combination of the output from proutil dbanalys, describe and iostats.

SAKOE DATABASE BACKUP

Synopsis

Backup a database into a single file for a future restore.

Usage

sakoe database backup <backup-file> [options]

Arguments

ArgumentDescription
<backup-file>File path that will contain the database backup.

Options

Short nameLong nameDescription
-ns--no-scanPrevents the tool from performing an initial scan of the database to display the number of blocks that will be backed up and the amount of media the backup requires.
-nc--no-compressPrevents the tool from compressing the backup file.
-op--options <args>Use options for the probkup utility (see the documentation online).
-f--file <file>Path to a database (.db file). The .db extension is optional and the path can be relative to the current directory. Defaults to the path of the unique .db file found in the current directory.
-cp--cp-params <args>Database server internationalization startup parameters such as -cpinternal codepage and -cpstream codepage. This option will be used for openedge commands that support them (_dbutil, _mprosrv, _mprshut, _proutil).
-dl--dlc <dir>The path to the directory containing the Openedge installation. Will default to the path found in the OE_DLC or DLC environment variable if it exists.
-vb--verbosity[:level]Sets the verbosity of this command line tool. To get the ‘raw output’ of a command (without displaying the log), you can set the verbosity to none. Specifying this option without a level value sets the verbosity to debug. Not specifying the option defaults to info. Optionally, set the verbosity level for all commands using the environment variable OE_VERBOSITY.
-lo--log-output[:file]Output all the log message in a file, independently of the current verbosity. This allow to have a normal verbosity in the console while still logging everything to a file. Specifying this option without a value will output to the default file sakoe.log.
-wl--with-logoAlways show the logo on start.
-pb--progress-bar <mode>Sets the display mode of progress bars. Specify off to hide progress bars and stay to make them persistent. Defaults to on, which show progress bars but hide them when done.
-h--helpShow this help text.

SAKOE DATABASE BEFORE-IMAGE

Synopsis

Operate on database before-image file.

Usage

sakoe database before-image [options] [command]

Options

Short nameLong nameDescription
-h--helpShow this help text.

Commands

Short nameLong nameDescription
trtruncateTruncate the before-image of a database.

SAKOE DATABASE BEFORE-IMAGE TRUNCATE

Synopsis

Truncate the before-image of a database.

Usage

sakoe database before-image truncate [options]

Options

Short nameLong nameDescription
-f--file <file>Path to a database (.db file). The .db extension is optional and the path can be relative to the current directory. Defaults to the path of the unique .db file found in the current directory.
-cp--cp-params <args>Database server internationalization startup parameters such as -cpinternal codepage and -cpstream codepage. This option will be used for openedge commands that support them (_dbutil, _mprosrv, _mprshut, _proutil).
-dl--dlc <dir>The path to the directory containing the Openedge installation. Will default to the path found in the OE_DLC or DLC environment variable if it exists.
-vb--verbosity[:level]Sets the verbosity of this command line tool. To get the ‘raw output’ of a command (without displaying the log), you can set the verbosity to none. Specifying this option without a level value sets the verbosity to debug. Not specifying the option defaults to info. Optionally, set the verbosity level for all commands using the environment variable OE_VERBOSITY.
-lo--log-output[:file]Output all the log message in a file, independently of the current verbosity. This allow to have a normal verbosity in the console while still logging everything to a file. Specifying this option without a value will output to the default file sakoe.log.
-wl--with-logoAlways show the logo on start.
-pb--progress-bar <mode>Sets the display mode of progress bars. Specify off to hide progress bars and stay to make them persistent. Defaults to on, which show progress bars but hide them when done.
-h--helpShow this help text.

Description

Performs the following three functions:

SAKOE DATABASE BUSY

Synopsis

Openedge Index Rebuild
Check the usage mode of a database (busy mode).

Usage

sakoe database busy [options]

Options

Short nameLong nameDescription
-a--access <args>Database access/encryption arguments: [[-userid username [-password passwd ]] | [ -U username -P passwd] ] [-Passphrase].
-f--file <file>Path to a database (.db file). The .db extension is optional and the path can be relative to the current directory. Defaults to the path of the unique .db file found in the current directory.
-cp--cp-params <args>Database server internationalization startup parameters such as -cpinternal codepage and -cpstream codepage. This option will be used for openedge commands that support them (_dbutil, _mprosrv, _mprshut, _proutil).
-dl--dlc <dir>The path to the directory containing the Openedge installation. Will default to the path found in the OE_DLC or DLC environment variable if it exists.
-vb--verbosity[:level]Sets the verbosity of this command line tool. To get the ‘raw output’ of a command (without displaying the log), you can set the verbosity to none. Specifying this option without a level value sets the verbosity to debug. Not specifying the option defaults to info. Optionally, set the verbosity level for all commands using the environment variable OE_VERBOSITY.
-lo--log-output[:file]Output all the log message in a file, independently of the current verbosity. This allow to have a normal verbosity in the console while still logging everything to a file. Specifying this option without a value will output to the default file sakoe.log.
-wl--with-logoAlways show the logo on start.
-pb--progress-bar <mode>Sets the display mode of progress bars. Specify off to hide progress bars and stay to make them persistent. Defaults to on, which show progress bars but hide them when done.
-h--helpShow this help text.

SAKOE DATABASE CHECK

Synopsis

Check if a database is alive.

Usage

sakoe database check [options]

Options

Short nameLong nameDescription
-c--connection <args>A connection string that can be used to connect to an openedge database. The connection string will be used in a CONNECT statement.
-f--file <file>Path to a database (.db file). The .db extension is optional and the path can be relative to the current directory. Defaults to the path of the unique .db file found in the current directory.
-cp--cp-params <args>Database server internationalization startup parameters such as -cpinternal codepage and -cpstream codepage. This option will be used for openedge commands that support them (_dbutil, _mprosrv, _mprshut, _proutil).
-dl--dlc <dir>The path to the directory containing the Openedge installation. Will default to the path found in the OE_DLC or DLC environment variable if it exists.
-vb--verbosity[:level]Sets the verbosity of this command line tool. To get the ‘raw output’ of a command (without displaying the log), you can set the verbosity to none. Specifying this option without a level value sets the verbosity to debug. Not specifying the option defaults to info. Optionally, set the verbosity level for all commands using the environment variable OE_VERBOSITY.
-lo--log-output[:file]Output all the log message in a file, independently of the current verbosity. This allow to have a normal verbosity in the console while still logging everything to a file. Specifying this option without a value will output to the default file sakoe.log.
-wl--with-logoAlways show the logo on start.
-pb--progress-bar <mode>Sets the display mode of progress bars. Specify off to hide progress bars and stay to make them persistent. Defaults to on, which show progress bars but hide them when done.
-h--helpShow this help text.

Description

Check if a database is alive by trying to connect to it using a openedge client.

SAKOE DATABASE CONNECT

Synopsis

Get the connection string to use to connect to a database.

Usage

sakoe database connect [options]

Options

Short nameLong nameDescription
-l--logical-name <name>The logical name to use for the database in the connection string.
-f--file <file>Path to a database (.db file). The .db extension is optional and the path can be relative to the current directory. Defaults to the path of the unique .db file found in the current directory.
-cp--cp-params <args>Database server internationalization startup parameters such as -cpinternal codepage and -cpstream codepage. This option will be used for openedge commands that support them (_dbutil, _mprosrv, _mprshut, _proutil).
-dl--dlc <dir>The path to the directory containing the Openedge installation. Will default to the path found in the OE_DLC or DLC environment variable if it exists.
-vb--verbosity[:level]Sets the verbosity of this command line tool. To get the ‘raw output’ of a command (without displaying the log), you can set the verbosity to none. Specifying this option without a level value sets the verbosity to debug. Not specifying the option defaults to info. Optionally, set the verbosity level for all commands using the environment variable OE_VERBOSITY.
-lo--log-output[:file]Output all the log message in a file, independently of the current verbosity. This allow to have a normal verbosity in the console while still logging everything to a file. Specifying this option without a value will output to the default file sakoe.log.
-wl--with-logoAlways show the logo on start.
-pb--progress-bar <mode>Sets the display mode of progress bars. Specify off to hide progress bars and stay to make them persistent. Defaults to on, which show progress bars but hide them when done.
-h--helpShow this help text.

SAKOE DATABASE COPY

Synopsis

Copy a database.

Usage

sakoe database copy <source db path> <target db path> [options]

Arguments

ArgumentDescription
<source db path>Path to the source database (.db file). The .db extension is optional and the path can be relative to the current directory.
<target db path>Path to the target database (.db file). The .db extension is optional and the path can be relative to the current directory.

Options

Short nameLong nameDescription
-ni--new-instanceSpecifies that a new GUID be created for the target database.
-rp--relative-pathUse relative path in the structure file.
-cp--cp-params <args>Database server internationalization startup parameters such as -cpinternal codepage and -cpstream codepage. This option will be used for openedge commands that support them (_dbutil, _mprosrv, _mprshut, _proutil).
-dl--dlc <dir>The path to the directory containing the Openedge installation. Will default to the path found in the OE_DLC or DLC environment variable if it exists.
-vb--verbosity[:level]Sets the verbosity of this command line tool. To get the ‘raw output’ of a command (without displaying the log), you can set the verbosity to none. Specifying this option without a level value sets the verbosity to debug. Not specifying the option defaults to info. Optionally, set the verbosity level for all commands using the environment variable OE_VERBOSITY.
-lo--log-output[:file]Output all the log message in a file, independently of the current verbosity. This allow to have a normal verbosity in the console while still logging everything to a file. Specifying this option without a value will output to the default file sakoe.log.
-wl--with-logoAlways show the logo on start.
-pb--progress-bar <mode>Sets the display mode of progress bars. Specify off to hide progress bars and stay to make them persistent. Defaults to on, which show progress bars but hide them when done.
-h--helpShow this help text.

SAKOE DATABASE CREATE

Synopsis

Creates a new database.

Usage

sakoe database create [options]

Options

Short nameLong nameDescription
-f--file <file>File name (physical name) of the database to create (.db file). The .db extension is optional and the path can be relative to the current directory. Defaults to the name of the current directory.
-df--df <file>Path to the .df file containing the database schema definition. The path can be relative to the current directory.
-st--st <file>Path to the structure file (.st file) containing the database physical structure. The path can be relative to the current directory.
-bs--block-size <size>The block-size to use when creating the database. Defaults to the default block-size for the current platform (linux or windows).
-lg--lang <lang>The codepage/lang to use. Creates the database using an empty database located in the openedge installation $DLC/prolang/(lang).
-ni--new-instanceSpecifies that a new GUID be created for the target database.
-rp--relative-pathUse relative path in the structure file.
-cp--cp-params <args>Database server internationalization startup parameters such as -cpinternal codepage and -cpstream codepage. This option will be used for openedge commands that support them (_dbutil, _mprosrv, _mprshut, _proutil).
-dl--dlc <dir>The path to the directory containing the Openedge installation. Will default to the path found in the OE_DLC or DLC environment variable if it exists.
-vb--verbosity[:level]Sets the verbosity of this command line tool. To get the ‘raw output’ of a command (without displaying the log), you can set the verbosity to none. Specifying this option without a level value sets the verbosity to debug. Not specifying the option defaults to info. Optionally, set the verbosity level for all commands using the environment variable OE_VERBOSITY.
-lo--log-output[:file]Output all the log message in a file, independently of the current verbosity. This allow to have a normal verbosity in the console while still logging everything to a file. Specifying this option without a value will output to the default file sakoe.log.
-wl--with-logoAlways show the logo on start.
-pb--progress-bar <mode>Sets the display mode of progress bars. Specify off to hide progress bars and stay to make them persistent. Defaults to on, which show progress bars but hide them when done.
-h--helpShow this help text.

SAKOE DATABASE DATA

Synopsis

Operate on database data.

Usage

sakoe database data [options] [command]

Options

Short nameLong nameDescription
-h--helpShow this help text.

Commands

Short nameLong nameDescription
dudumpDump the database data in plain text files (.d).
dbdump-binaryDump data in binary format from a database.
dqdump-sequenceDump the database sequence data in a plain text file (.d).
dsdump-sqlDump data in SQL-92 format from a database.
loloadLoad the database data from plain text files (.d).
lbload-binaryLoad the database data from binary format files.
lkload-bulkLoad the database data from plain text files (.d).
lqload-sequenceLoad the database sequence data from a plain text file (.d).
lsload-sqlLoad the database data from SQL-92 format files (.dsql).
tctruncateDeletes all the data of a given table.

SAKOE DATABASE DATA DUMP

Synopsis

Dump the database data in plain text files (.d).

Usage

sakoe database data dump <dump-directory> [options]

Arguments

ArgumentDescription
<dump-directory>Directory path that will contain the data dumped. Each table of the database will be dumped as an individual .d file named like the table.

Options

Short nameLong nameDescription
-t--table <tables>A list of comma separated table names to dump. Defaults to ALL which dumps every table.
-c--connection <args>A connection string that can be used to connect to an openedge database. The connection string will be used in a CONNECT statement.
-f--file <file>Path to a database (.db file). The .db extension is optional and the path can be relative to the current directory. Defaults to the path of the unique .db file found in the current directory.
-cp--cp-params <args>Database server internationalization startup parameters such as -cpinternal codepage and -cpstream codepage. This option will be used for openedge commands that support them (_dbutil, _mprosrv, _mprshut, _proutil).
-dl--dlc <dir>The path to the directory containing the Openedge installation. Will default to the path found in the OE_DLC or DLC environment variable if it exists.
-vb--verbosity[:level]Sets the verbosity of this command line tool. To get the ‘raw output’ of a command (without displaying the log), you can set the verbosity to none. Specifying this option without a level value sets the verbosity to debug. Not specifying the option defaults to info. Optionally, set the verbosity level for all commands using the environment variable OE_VERBOSITY.
-lo--log-output[:file]Output all the log message in a file, independently of the current verbosity. This allow to have a normal verbosity in the console while still logging everything to a file. Specifying this option without a value will output to the default file sakoe.log.
-wl--with-logoAlways show the logo on start.
-pb--progress-bar <mode>Sets the display mode of progress bars. Specify off to hide progress bars and stay to make them persistent. Defaults to on, which show progress bars but hide them when done.
-h--helpShow this help text.

SAKOE DATABASE DATA DUMP-BINARY

Synopsis

Dump data in binary format from a database.

Usage

sakoe database data dump-binary <dump-directory> [options]

Arguments

ArgumentDescription
<dump-directory>Directory path that will contain the data dumped. Each table of the database will be dumped as an individual .bd file named like the table.

Options

Short nameLong nameDescription
-t--table <tables>A list of comma separated table names to dump. Defaults to dumping every table.
-op--options <args>Use options for the proutil dump utility (see the documentation online).
-a--access <args>Database access/encryption arguments: [[-userid username [-password passwd ]] | [ -U username -P passwd] ] [-Passphrase].
-f--file <file>Path to a database (.db file). The .db extension is optional and the path can be relative to the current directory. Defaults to the path of the unique .db file found in the current directory.
-cp--cp-params <args>Database server internationalization startup parameters such as -cpinternal codepage and -cpstream codepage. This option will be used for openedge commands that support them (_dbutil, _mprosrv, _mprshut, _proutil).
-dl--dlc <dir>The path to the directory containing the Openedge installation. Will default to the path found in the OE_DLC or DLC environment variable if it exists.
-vb--verbosity[:level]Sets the verbosity of this command line tool. To get the ‘raw output’ of a command (without displaying the log), you can set the verbosity to none. Specifying this option without a level value sets the verbosity to debug. Not specifying the option defaults to info. Optionally, set the verbosity level for all commands using the environment variable OE_VERBOSITY.
-lo--log-output[:file]Output all the log message in a file, independently of the current verbosity. This allow to have a normal verbosity in the console while still logging everything to a file. Specifying this option without a value will output to the default file sakoe.log.
-wl--with-logoAlways show the logo on start.
-pb--progress-bar <mode>Sets the display mode of progress bars. Specify off to hide progress bars and stay to make them persistent. Defaults to on, which show progress bars but hide them when done.
-h--helpShow this help text.

SAKOE DATABASE DATA DUMP-SEQUENCE

Synopsis

Dump the database sequence data in a plain text file (.d).

Usage

sakoe database data dump-sequence <dump-file> [options]

Arguments

ArgumentDescription
<dump-file>File path that will contain the data dumped (usually has the .d extension).

Options

Short nameLong nameDescription
-c--connection <args>A connection string that can be used to connect to an openedge database. The connection string will be used in a CONNECT statement.
-f--file <file>Path to a database (.db file). The .db extension is optional and the path can be relative to the current directory. Defaults to the path of the unique .db file found in the current directory.
-cp--cp-params <args>Database server internationalization startup parameters such as -cpinternal codepage and -cpstream codepage. This option will be used for openedge commands that support them (_dbutil, _mprosrv, _mprshut, _proutil).
-dl--dlc <dir>The path to the directory containing the Openedge installation. Will default to the path found in the OE_DLC or DLC environment variable if it exists.
-vb--verbosity[:level]Sets the verbosity of this command line tool. To get the ‘raw output’ of a command (without displaying the log), you can set the verbosity to none. Specifying this option without a level value sets the verbosity to debug. Not specifying the option defaults to info. Optionally, set the verbosity level for all commands using the environment variable OE_VERBOSITY.
-lo--log-output[:file]Output all the log message in a file, independently of the current verbosity. This allow to have a normal verbosity in the console while still logging everything to a file. Specifying this option without a value will output to the default file sakoe.log.
-wl--with-logoAlways show the logo on start.
-pb--progress-bar <mode>Sets the display mode of progress bars. Specify off to hide progress bars and stay to make them persistent. Defaults to on, which show progress bars but hide them when done.
-h--helpShow this help text.

Description

The data of each sequence of the database is dumped in the output file.

SAKOE DATABASE DATA DUMP-SQL

Synopsis

Dump data in SQL-92 format from a database.

Usage

sakoe database data dump-sql <dump-directory> [options]

Arguments

ArgumentDescription
<dump-directory>Directory path that will contain the data dumped. Each table of the database will be dumped as an individual .dsql file named like the table.

Options

Short nameLong nameDescription
-op--options <args>Use options for the sqldump utility (see the documentation online). Defaults to dumping every table.
-c--connection <args>A connection string that can be used to connect to an openedge database. The connection string will be used in a CONNECT statement.
-f--file <file>Path to a database (.db file). The .db extension is optional and the path can be relative to the current directory. Defaults to the path of the unique .db file found in the current directory.
-cp--cp-params <args>Database server internationalization startup parameters such as -cpinternal codepage and -cpstream codepage. This option will be used for openedge commands that support them (_dbutil, _mprosrv, _mprshut, _proutil).
-dl--dlc <dir>The path to the directory containing the Openedge installation. Will default to the path found in the OE_DLC or DLC environment variable if it exists.
-vb--verbosity[:level]Sets the verbosity of this command line tool. To get the ‘raw output’ of a command (without displaying the log), you can set the verbosity to none. Specifying this option without a level value sets the verbosity to debug. Not specifying the option defaults to info. Optionally, set the verbosity level for all commands using the environment variable OE_VERBOSITY.
-lo--log-output[:file]Output all the log message in a file, independently of the current verbosity. This allow to have a normal verbosity in the console while still logging everything to a file. Specifying this option without a value will output to the default file sakoe.log.
-wl--with-logoAlways show the logo on start.
-pb--progress-bar <mode>Sets the display mode of progress bars. Specify off to hide progress bars and stay to make them persistent. Defaults to on, which show progress bars but hide them when done.
-h--helpShow this help text.

SAKOE DATABASE DATA LOAD

Synopsis

Load the database data from plain text files (.d).

Usage

sakoe database data load <data-directory> [options]

Arguments

ArgumentDescription
<data-directory>Directory path that contain the data to load. Each table of the database should be stored as an individual .d file named like the table.

Options

Short nameLong nameDescription
-t--table <tables>A list of comma separated table names to load. Defaults to ALL which loads every table.
-c--connection <args>A connection string that can be used to connect to an openedge database. The connection string will be used in a CONNECT statement.
-f--file <file>Path to a database (.db file). The .db extension is optional and the path can be relative to the current directory. Defaults to the path of the unique .db file found in the current directory.
-cp--cp-params <args>Database server internationalization startup parameters such as -cpinternal codepage and -cpstream codepage. This option will be used for openedge commands that support them (_dbutil, _mprosrv, _mprshut, _proutil).
-dl--dlc <dir>The path to the directory containing the Openedge installation. Will default to the path found in the OE_DLC or DLC environment variable if it exists.
-vb--verbosity[:level]Sets the verbosity of this command line tool. To get the ‘raw output’ of a command (without displaying the log), you can set the verbosity to none. Specifying this option without a level value sets the verbosity to debug. Not specifying the option defaults to info. Optionally, set the verbosity level for all commands using the environment variable OE_VERBOSITY.
-lo--log-output[:file]Output all the log message in a file, independently of the current verbosity. This allow to have a normal verbosity in the console while still logging everything to a file. Specifying this option without a value will output to the default file sakoe.log.
-wl--with-logoAlways show the logo on start.
-pb--progress-bar <mode>Sets the display mode of progress bars. Specify off to hide progress bars and stay to make them persistent. Defaults to on, which show progress bars but hide them when done.
-h--helpShow this help text.

SAKOE DATABASE DATA LOAD-BINARY

Synopsis

Load the database data from binary format files.

Usage

sakoe database data load-binary <data-directory> [options]

Arguments

ArgumentDescription
<data-directory>Directory path that contain the data to load. Each table of the database should be stored as an individual .bd file named like the table.

Options

Short nameLong nameDescription
-op--options <args>Use options for the proutil load utility (see the documentation online).
-nr--no-rebuildDo not rebuild indexes when loading the data.
-a--access <args>Database access/encryption arguments: [[-userid username [-password passwd ]] | [ -U username -P passwd] ] [-Passphrase].
-f--file <file>Path to a database (.db file). The .db extension is optional and the path can be relative to the current directory. Defaults to the path of the unique .db file found in the current directory.
-cp--cp-params <args>Database server internationalization startup parameters such as -cpinternal codepage and -cpstream codepage. This option will be used for openedge commands that support them (_dbutil, _mprosrv, _mprshut, _proutil).
-dl--dlc <dir>The path to the directory containing the Openedge installation. Will default to the path found in the OE_DLC or DLC environment variable if it exists.
-vb--verbosity[:level]Sets the verbosity of this command line tool. To get the ‘raw output’ of a command (without displaying the log), you can set the verbosity to none. Specifying this option without a level value sets the verbosity to debug. Not specifying the option defaults to info. Optionally, set the verbosity level for all commands using the environment variable OE_VERBOSITY.
-lo--log-output[:file]Output all the log message in a file, independently of the current verbosity. This allow to have a normal verbosity in the console while still logging everything to a file. Specifying this option without a value will output to the default file sakoe.log.
-wl--with-logoAlways show the logo on start.
-pb--progress-bar <mode>Sets the display mode of progress bars. Specify off to hide progress bars and stay to make them persistent. Defaults to on, which show progress bars but hide them when done.
-h--helpShow this help text.

SAKOE DATABASE DATA LOAD-BULK

Synopsis

Load the database data from plain text files (.d).

Usage

sakoe database data load-bulk <data-directory> [options]

Arguments

ArgumentDescription
<data-directory>Directory path that contain the data to load. Each table of the database should be stored as an individual .bd file named like the table.

Options

Short nameLong nameDescription
-op--options <args>Use options for the proutil load utility (see the documentation online).
-a--access <args>Database access/encryption arguments: [[-userid username [-password passwd ]] | [ -U username -P passwd] ] [-Passphrase].
-f--file <file>Path to a database (.db file). The .db extension is optional and the path can be relative to the current directory. Defaults to the path of the unique .db file found in the current directory.
-cp--cp-params <args>Database server internationalization startup parameters such as -cpinternal codepage and -cpstream codepage. This option will be used for openedge commands that support them (_dbutil, _mprosrv, _mprshut, _proutil).
-dl--dlc <dir>The path to the directory containing the Openedge installation. Will default to the path found in the OE_DLC or DLC environment variable if it exists.
-vb--verbosity[:level]Sets the verbosity of this command line tool. To get the ‘raw output’ of a command (without displaying the log), you can set the verbosity to none. Specifying this option without a level value sets the verbosity to debug. Not specifying the option defaults to info. Optionally, set the verbosity level for all commands using the environment variable OE_VERBOSITY.
-lo--log-output[:file]Output all the log message in a file, independently of the current verbosity. This allow to have a normal verbosity in the console while still logging everything to a file. Specifying this option without a value will output to the default file sakoe.log.
-wl--with-logoAlways show the logo on start.
-pb--progress-bar <mode>Sets the display mode of progress bars. Specify off to hide progress bars and stay to make them persistent. Defaults to on, which show progress bars but hide them when done.
-h--helpShow this help text.

SAKOE DATABASE DATA LOAD-SEQUENCE

Synopsis

Load the database sequence data from a plain text file (.d).

Usage

sakoe database data load-sequence <data-file> [options]

Arguments

ArgumentDescription
<data-file>File path that contains the sequence data to load (usually has the .d extension).

Options

Short nameLong nameDescription
-c--connection <args>A connection string that can be used to connect to an openedge database. The connection string will be used in a CONNECT statement.
-f--file <file>Path to a database (.db file). The .db extension is optional and the path can be relative to the current directory. Defaults to the path of the unique .db file found in the current directory.
-cp--cp-params <args>Database server internationalization startup parameters such as -cpinternal codepage and -cpstream codepage. This option will be used for openedge commands that support them (_dbutil, _mprosrv, _mprshut, _proutil).
-dl--dlc <dir>The path to the directory containing the Openedge installation. Will default to the path found in the OE_DLC or DLC environment variable if it exists.
-vb--verbosity[:level]Sets the verbosity of this command line tool. To get the ‘raw output’ of a command (without displaying the log), you can set the verbosity to none. Specifying this option without a level value sets the verbosity to debug. Not specifying the option defaults to info. Optionally, set the verbosity level for all commands using the environment variable OE_VERBOSITY.
-lo--log-output[:file]Output all the log message in a file, independently of the current verbosity. This allow to have a normal verbosity in the console while still logging everything to a file. Specifying this option without a value will output to the default file sakoe.log.
-wl--with-logoAlways show the logo on start.
-pb--progress-bar <mode>Sets the display mode of progress bars. Specify off to hide progress bars and stay to make them persistent. Defaults to on, which show progress bars but hide them when done.
-h--helpShow this help text.

SAKOE DATABASE DATA LOAD-SQL

Synopsis

Load the database data from SQL-92 format files (.dsql).

Usage

sakoe database data load-sql <data-directory> [options]

Arguments

ArgumentDescription
<data-directory>Directory path that contain the data to load. Each table of the database should be stored as an individual .dsql file named like the owner.table (e.g. PUB.table1).

Options

Short nameLong nameDescription
-op--options <args>Use options for the sqlload utility (see the documentation online). Defaults to loading every table.
-c--connection <args>A connection string that can be used to connect to an openedge database. The connection string will be used in a CONNECT statement.
-f--file <file>Path to a database (.db file). The .db extension is optional and the path can be relative to the current directory. Defaults to the path of the unique .db file found in the current directory.
-cp--cp-params <args>Database server internationalization startup parameters such as -cpinternal codepage and -cpstream codepage. This option will be used for openedge commands that support them (_dbutil, _mprosrv, _mprshut, _proutil).
-dl--dlc <dir>The path to the directory containing the Openedge installation. Will default to the path found in the OE_DLC or DLC environment variable if it exists.
-vb--verbosity[:level]Sets the verbosity of this command line tool. To get the ‘raw output’ of a command (without displaying the log), you can set the verbosity to none. Specifying this option without a level value sets the verbosity to debug. Not specifying the option defaults to info. Optionally, set the verbosity level for all commands using the environment variable OE_VERBOSITY.
-lo--log-output[:file]Output all the log message in a file, independently of the current verbosity. This allow to have a normal verbosity in the console while still logging everything to a file. Specifying this option without a value will output to the default file sakoe.log.
-wl--with-logoAlways show the logo on start.
-pb--progress-bar <mode>Sets the display mode of progress bars. Specify off to hide progress bars and stay to make them persistent. Defaults to on, which show progress bars but hide them when done.
-h--helpShow this help text.

SAKOE DATABASE DATA TRUNCATE

Synopsis

Deletes all the data of a given table.

Usage

sakoe database data truncate <tables> [options]

Arguments

ArgumentDescription
<tables>A list of comma separated table names to truncate.

Options

Short nameLong nameDescription
-f--file <file>Path to a database (.db file). The .db extension is optional and the path can be relative to the current directory. Defaults to the path of the unique .db file found in the current directory.
-cp--cp-params <args>Database server internationalization startup parameters such as -cpinternal codepage and -cpstream codepage. This option will be used for openedge commands that support them (_dbutil, _mprosrv, _mprshut, _proutil).
-dl--dlc <dir>The path to the directory containing the Openedge installation. Will default to the path found in the OE_DLC or DLC environment variable if it exists.
-vb--verbosity[:level]Sets the verbosity of this command line tool. To get the ‘raw output’ of a command (without displaying the log), you can set the verbosity to none. Specifying this option without a level value sets the verbosity to debug. Not specifying the option defaults to info. Optionally, set the verbosity level for all commands using the environment variable OE_VERBOSITY.
-lo--log-output[:file]Output all the log message in a file, independently of the current verbosity. This allow to have a normal verbosity in the console while still logging everything to a file. Specifying this option without a value will output to the default file sakoe.log.
-wl--with-logoAlways show the logo on start.
-pb--progress-bar <mode>Sets the display mode of progress bars. Specify off to hide progress bars and stay to make them persistent. Defaults to on, which show progress bars but hide them when done.
-h--helpShow this help text.

SAKOE DATABASE DATADIGGER

Synopsis

DataDigger is a tool for exploring and modifying the data of a database.

Usage

sakoe database datadigger [options] [command]

Options

Short nameLong nameDescription
-h--helpShow this help text.

Commands

Short nameLong nameDescription
ininstallInstall DataDigger in the default installation path.
rmremoveRemove DataDigger from the installation path.
rurunRun a new DataDigger instance.

Description

The default sub command for this command is run.
If DataDigger is already installed on your computer, you can use the environment variable OE_DATADIGGER_INSTALL_PATH to specify the installation location so sakoe knows where to find the tool. Otherwise, simply let sakoe install it in the default location.
DataDigger is maintained by Patrick Tingen: https://github.com/patrickTingen/DataDigger.
Learn more here: https://datadigger.wordpress.com.

SAKOE DATABASE DATADIGGER INSTALL

Synopsis

Install DataDigger in the default installation path.

Usage

sakoe database datadigger install [options]

Options

Short nameLong nameDescription
-b--get-pre-releaseAccept to install pre-release (i.e. ‘beta’) versions of the tool.
-p--proxy <url>The http proxy to use for this update. Useful if you are behind a corporate firewall. The expected format is: ‘http(s)://[user:password@]host[:port]’. It is also possible to use the environment variables OE_HTTP_PROXY or http_proxy to set this value.
-f--forceForce the installation even if the tool is already installed.
-vb--verbosity[:level]Sets the verbosity of this command line tool. To get the ‘raw output’ of a command (without displaying the log), you can set the verbosity to none. Specifying this option without a level value sets the verbosity to debug. Not specifying the option defaults to info. Optionally, set the verbosity level for all commands using the environment variable OE_VERBOSITY.
-lo--log-output[:file]Output all the log message in a file, independently of the current verbosity. This allow to have a normal verbosity in the console while still logging everything to a file. Specifying this option without a value will output to the default file sakoe.log.
-wl--with-logoAlways show the logo on start.
-pb--progress-bar <mode>Sets the display mode of progress bars. Specify off to hide progress bars and stay to make them persistent. Defaults to on, which show progress bars but hide them when done.
-h--helpShow this help text.

Description

Use the environment variable OE_DATADIGGER_INSTALL_PATH to specify a different location.

SAKOE DATABASE DATADIGGER REMOVE

Synopsis

Remove DataDigger from the installation path.

Usage

sakoe database datadigger remove [options]

Options

Short nameLong nameDescription
-f--forceMandatory option to force the removal and avoid bad manipulation.
-vb--verbosity[:level]Sets the verbosity of this command line tool. To get the ‘raw output’ of a command (without displaying the log), you can set the verbosity to none. Specifying this option without a level value sets the verbosity to debug. Not specifying the option defaults to info. Optionally, set the verbosity level for all commands using the environment variable OE_VERBOSITY.
-lo--log-output[:file]Output all the log message in a file, independently of the current verbosity. This allow to have a normal verbosity in the console while still logging everything to a file. Specifying this option without a value will output to the default file sakoe.log.
-wl--with-logoAlways show the logo on start.
-pb--progress-bar <mode>Sets the display mode of progress bars. Specify off to hide progress bars and stay to make them persistent. Defaults to on, which show progress bars but hide them when done.
-h--helpShow this help text.

SAKOE DATABASE DATADIGGER RUN

Synopsis

Run a new DataDigger instance.

Usage

sakoe database datadigger run [options] [-- <extra pro args>...]

Options

Short nameLong nameDescription
-ro--read-onlyStart DataDigger in read-only mode (records will not modifiable).
-d--detachedUse this option to immediately return to the prompt instead of waiting the for the program to exit.
-c--connection <args>(Can be used multiple times) A connection string that can be used to connect to one or more openedge database. The connection string will be used in a CONNECT statement.
-f--file <path>(Can be used multiple times) Path to a database (.db file). The .db extension is optional and the path can be relative to the current directory. Defaults to a list of path of all the .db file found in the current directory.
-cp--cp-params <args>Database server internationalization startup parameters such as -cpinternal codepage and -cpstream codepage. This option will be used for openedge commands that support them (_dbutil, _mprosrv, _mprshut, _proutil).
-dl--dlc <dir>The path to the directory containing the Openedge installation. Will default to the path found in the OE_DLC or DLC environment variable if it exists.
-vb--verbosity[:level]Sets the verbosity of this command line tool. To get the ‘raw output’ of a command (without displaying the log), you can set the verbosity to none. Specifying this option without a level value sets the verbosity to debug. Not specifying the option defaults to info. Optionally, set the verbosity level for all commands using the environment variable OE_VERBOSITY.
-lo--log-output[:file]Output all the log message in a file, independently of the current verbosity. This allow to have a normal verbosity in the console while still logging everything to a file. Specifying this option without a value will output to the default file sakoe.log.
-wl--with-logoAlways show the logo on start.
-pb--progress-bar <mode>Sets the display mode of progress bars. Specify off to hide progress bars and stay to make them persistent. Defaults to on, which show progress bars but hide them when done.
-h--helpShow this help text.

Description

Please note that when running DataDigger, the DataDigger.pf file of the installation path is used.

SAKOE DATABASE DELETE

Synopsis

Delete a database.

Usage

sakoe database delete [options]

Options

Short nameLong nameDescription
-y--yesAutomatically answer yes on deletion confirmation.
-st--delete-stAlso delete the structure file (.st).
-f--file <file>Path to a database (.db file). The .db extension is optional and the path can be relative to the current directory. Defaults to the path of the unique .db file found in the current directory.
-cp--cp-params <args>Database server internationalization startup parameters such as -cpinternal codepage and -cpstream codepage. This option will be used for openedge commands that support them (_dbutil, _mprosrv, _mprshut, _proutil).
-dl--dlc <dir>The path to the directory containing the Openedge installation. Will default to the path found in the OE_DLC or DLC environment variable if it exists.
-vb--verbosity[:level]Sets the verbosity of this command line tool. To get the ‘raw output’ of a command (without displaying the log), you can set the verbosity to none. Specifying this option without a level value sets the verbosity to debug. Not specifying the option defaults to info. Optionally, set the verbosity level for all commands using the environment variable OE_VERBOSITY.
-lo--log-output[:file]Output all the log message in a file, independently of the current verbosity. This allow to have a normal verbosity in the console while still logging everything to a file. Specifying this option without a value will output to the default file sakoe.log.
-wl--with-logoAlways show the logo on start.
-pb--progress-bar <mode>Sets the display mode of progress bars. Specify off to hide progress bars and stay to make them persistent. Defaults to on, which show progress bars but hide them when done.
-h--helpShow this help text.

Description

All the files composing the database are deleted.

SAKOE DATABASE DICTIONARY

Synopsis

The openedge database dictionary tool.

Usage

sakoe database dictionary [options] [command]

Options

Short nameLong nameDescription
-h--helpShow this help text.

Commands

Short nameLong nameDescription
rnrunRun an instance of the dictionary tool.

Description

The default sub command for this command is run.

SAKOE DATABASE DICTIONARY RUN

Synopsis

Run an instance of the dictionary tool.

Usage

sakoe database dictionary run [options] [-- <extra pro args>...]

Options

Short nameLong nameDescription
-d--detachedUse this option to immediately return to the prompt instead of waiting the for the program to exit.
-c--connection <args>(Can be used multiple times) A connection string that can be used to connect to one or more openedge database. The connection string will be used in a CONNECT statement.
-f--file <path>(Can be used multiple times) Path to a database (.db file). The .db extension is optional and the path can be relative to the current directory. Defaults to a list of path of all the .db file found in the current directory.
-cp--cp-params <args>Database server internationalization startup parameters such as -cpinternal codepage and -cpstream codepage. This option will be used for openedge commands that support them (_dbutil, _mprosrv, _mprshut, _proutil).
-dl--dlc <dir>The path to the directory containing the Openedge installation. Will default to the path found in the OE_DLC or DLC environment variable if it exists.
-vb--verbosity[:level]Sets the verbosity of this command line tool. To get the ‘raw output’ of a command (without displaying the log), you can set the verbosity to none. Specifying this option without a level value sets the verbosity to debug. Not specifying the option defaults to info. Optionally, set the verbosity level for all commands using the environment variable OE_VERBOSITY.
-lo--log-output[:file]Output all the log message in a file, independently of the current verbosity. This allow to have a normal verbosity in the console while still logging everything to a file. Specifying this option without a value will output to the default file sakoe.log.
-wl--with-logoAlways show the logo on start.
-pb--progress-bar <mode>Sets the display mode of progress bars. Specify off to hide progress bars and stay to make them persistent. Defaults to on, which show progress bars but hide them when done.
-h--helpShow this help text.

SAKOE DATABASE INDEX

Synopsis

Operate on database indexes.

Usage

sakoe database index [options] [command]

Options

Short nameLong nameDescription
-h--helpShow this help text.

Commands

Short nameLong nameDescription
rbrebuildRebuild the indexes of a database. By default, rebuilds all the active indexes.

SAKOE DATABASE INDEX REBUILD

Synopsis

Rebuild the indexes of a database. By default, rebuilds all the active indexes.

Usage

sakoe database index rebuild [options]

Options

Short nameLong nameDescription
-op--options <args>Parameters for the proutil idxbuild command. Defaults to activeindexes.
-a--access <args>Database access/encryption arguments: [[-userid username [-password passwd ]] | [ -U username -P passwd] ] [-Passphrase].
-f--file <file>Path to a database (.db file). The .db extension is optional and the path can be relative to the current directory. Defaults to the path of the unique .db file found in the current directory.
-cp--cp-params <args>Database server internationalization startup parameters such as -cpinternal codepage and -cpstream codepage. This option will be used for openedge commands that support them (_dbutil, _mprosrv, _mprshut, _proutil).
-dl--dlc <dir>The path to the directory containing the Openedge installation. Will default to the path found in the OE_DLC or DLC environment variable if it exists.
-vb--verbosity[:level]Sets the verbosity of this command line tool. To get the ‘raw output’ of a command (without displaying the log), you can set the verbosity to none. Specifying this option without a level value sets the verbosity to debug. Not specifying the option defaults to info. Optionally, set the verbosity level for all commands using the environment variable OE_VERBOSITY.
-lo--log-output[:file]Output all the log message in a file, independently of the current verbosity. This allow to have a normal verbosity in the console while still logging everything to a file. Specifying this option without a value will output to the default file sakoe.log.
-wl--with-logoAlways show the logo on start.
-pb--progress-bar <mode>Sets the display mode of progress bars. Specify off to hide progress bars and stay to make them persistent. Defaults to on, which show progress bars but hide them when done.
-h--helpShow this help text.

SAKOE DATABASE KILL

Synopsis

Kill the broker/server processes running for a particular a database.

Usage

sakoe database kill [options]

Options

Short nameLong nameDescription
-f--file <file>Path to a database (.db file). The .db extension is optional and the path can be relative to the current directory. Defaults to the path of the unique .db file found in the current directory.
-cp--cp-params <args>Database server internationalization startup parameters such as -cpinternal codepage and -cpstream codepage. This option will be used for openedge commands that support them (_dbutil, _mprosrv, _mprshut, _proutil).
-dl--dlc <dir>The path to the directory containing the Openedge installation. Will default to the path found in the OE_DLC or DLC environment variable if it exists.
-vb--verbosity[:level]Sets the verbosity of this command line tool. To get the ‘raw output’ of a command (without displaying the log), you can set the verbosity to none. Specifying this option without a level value sets the verbosity to debug. Not specifying the option defaults to info. Optionally, set the verbosity level for all commands using the environment variable OE_VERBOSITY.
-lo--log-output[:file]Output all the log message in a file, independently of the current verbosity. This allow to have a normal verbosity in the console while still logging everything to a file. Specifying this option without a value will output to the default file sakoe.log.
-wl--with-logoAlways show the logo on start.
-pb--progress-bar <mode>Sets the display mode of progress bars. Specify off to hide progress bars and stay to make them persistent. Defaults to on, which show progress bars but hide them when done.
-h--helpShow this help text.

SAKOE DATABASE KILL-ALL

Synopsis

Kill all the broker/server processes running on this machine.

Usage

sakoe database kill-all [options]

Options

Short nameLong nameDescription
-vb--verbosity[:level]Sets the verbosity of this command line tool. To get the ‘raw output’ of a command (without displaying the log), you can set the verbosity to none. Specifying this option without a level value sets the verbosity to debug. Not specifying the option defaults to info. Optionally, set the verbosity level for all commands using the environment variable OE_VERBOSITY.
-lo--log-output[:file]Output all the log message in a file, independently of the current verbosity. This allow to have a normal verbosity in the console while still logging everything to a file. Specifying this option without a value will output to the default file sakoe.log.
-wl--with-logoAlways show the logo on start.
-pb--progress-bar <mode>Sets the display mode of progress bars. Specify off to hide progress bars and stay to make them persistent. Defaults to on, which show progress bars but hide them when done.
-h--helpShow this help text.

Description

A broker process is generally named: _mprosrv.

SAKOE DATABASE LOG

Synopsis

Operate on database log files (.lg).

Usage

sakoe database log [options] [command]

Options

Short nameLong nameDescription
-h--helpShow this help text.

Commands

Short nameLong nameDescription
trtruncateTruncates the log file.

SAKOE DATABASE LOG TRUNCATE

Synopsis

Truncates the log file.

Usage

sakoe database log truncate [options]

Options

Short nameLong nameDescription
-f--file <file>Path to a database (.db file). The .db extension is optional and the path can be relative to the current directory. Defaults to the path of the unique .db file found in the current directory.
-cp--cp-params <args>Database server internationalization startup parameters such as -cpinternal codepage and -cpstream codepage. This option will be used for openedge commands that support them (_dbutil, _mprosrv, _mprshut, _proutil).
-dl--dlc <dir>The path to the directory containing the Openedge installation. Will default to the path found in the OE_DLC or DLC environment variable if it exists.
-vb--verbosity[:level]Sets the verbosity of this command line tool. To get the ‘raw output’ of a command (without displaying the log), you can set the verbosity to none. Specifying this option without a level value sets the verbosity to debug. Not specifying the option defaults to info. Optionally, set the verbosity level for all commands using the environment variable OE_VERBOSITY.
-lo--log-output[:file]Output all the log message in a file, independently of the current verbosity. This allow to have a normal verbosity in the console while still logging everything to a file. Specifying this option without a value will output to the default file sakoe.log.
-wl--with-logoAlways show the logo on start.
-pb--progress-bar <mode>Sets the display mode of progress bars. Specify off to hide progress bars and stay to make them persistent. Defaults to on, which show progress bars but hide them when done.
-h--helpShow this help text.

Description

If the database is started, it will re-log the database startup parameters to the log file.

SAKOE DATABASE PROJECT

Synopsis

Operates on databases belonging to a project.

Usage

sakoe database project [options]

Options

Short nameLong nameDescription
-vb--verbosity[:level]Sets the verbosity of this command line tool. To get the ‘raw output’ of a command (without displaying the log), you can set the verbosity to none. Specifying this option without a level value sets the verbosity to debug. Not specifying the option defaults to info. Optionally, set the verbosity level for all commands using the environment variable OE_VERBOSITY.
-lo--log-output[:file]Output all the log message in a file, independently of the current verbosity. This allow to have a normal verbosity in the console while still logging everything to a file. Specifying this option without a value will output to the default file sakoe.log.
-wl--with-logoAlways show the logo on start.
-pb--progress-bar <mode>Sets the display mode of progress bars. Specify off to hide progress bars and stay to make them persistent. Defaults to on, which show progress bars but hide them when done.
-h--helpShow this help text.

SAKOE DATABASE REPAIR

Synopsis

Repair/update the database control information file (.db).

Usage

sakoe database repair [options]

Options

Short nameLong nameDescription
-a--access <args>Database access/encryption arguments: [[-userid username [-password passwd ]] | [ -U username -P passwd] ] [-Passphrase].
-f--file <file>Path to a database (.db file). The .db extension is optional and the path can be relative to the current directory. Defaults to the path of the unique .db file found in the current directory.
-cp--cp-params <args>Database server internationalization startup parameters such as -cpinternal codepage and -cpstream codepage. This option will be used for openedge commands that support them (_dbutil, _mprosrv, _mprshut, _proutil).
-dl--dlc <dir>The path to the directory containing the Openedge installation. Will default to the path found in the OE_DLC or DLC environment variable if it exists.
-vb--verbosity[:level]Sets the verbosity of this command line tool. To get the ‘raw output’ of a command (without displaying the log), you can set the verbosity to none. Specifying this option without a level value sets the verbosity to debug. Not specifying the option defaults to info. Optionally, set the verbosity level for all commands using the environment variable OE_VERBOSITY.
-lo--log-output[:file]Output all the log message in a file, independently of the current verbosity. This allow to have a normal verbosity in the console while still logging everything to a file. Specifying this option without a value will output to the default file sakoe.log.
-wl--with-logoAlways show the logo on start.
-pb--progress-bar <mode>Sets the display mode of progress bars. Specify off to hide progress bars and stay to make them persistent. Defaults to on, which show progress bars but hide them when done.
-h--helpShow this help text.

Description

Update the database control information, usually done after an extent has been moved or renamed.

SAKOE DATABASE RESTORE

Synopsis

Restore a database from a backup file.

Usage

sakoe database restore <backup-file> [options]

Arguments

ArgumentDescription
<backup-file>File path that contains the database backup.

Options

Short nameLong nameDescription
-op--options <args>Use options for the prorest utility (see the documentation online).
-f--file <file>Path to a database (.db file). The .db extension is optional and the path can be relative to the current directory. Defaults to the path of the unique .db file found in the current directory.
-cp--cp-params <args>Database server internationalization startup parameters such as -cpinternal codepage and -cpstream codepage. This option will be used for openedge commands that support them (_dbutil, _mprosrv, _mprshut, _proutil).
-dl--dlc <dir>The path to the directory containing the Openedge installation. Will default to the path found in the OE_DLC or DLC environment variable if it exists.
-vb--verbosity[:level]Sets the verbosity of this command line tool. To get the ‘raw output’ of a command (without displaying the log), you can set the verbosity to none. Specifying this option without a level value sets the verbosity to debug. Not specifying the option defaults to info. Optionally, set the verbosity level for all commands using the environment variable OE_VERBOSITY.
-lo--log-output[:file]Output all the log message in a file, independently of the current verbosity. This allow to have a normal verbosity in the console while still logging everything to a file. Specifying this option without a value will output to the default file sakoe.log.
-wl--with-logoAlways show the logo on start.
-pb--progress-bar <mode>Sets the display mode of progress bars. Specify off to hide progress bars and stay to make them persistent. Defaults to on, which show progress bars but hide them when done.
-h--helpShow this help text.

SAKOE DATABASE SCHEMA

Synopsis

Operate on database schema.

Usage

sakoe database schema [options] [command]

Options

Short nameLong nameDescription
-h--helpShow this help text.

Commands

Short nameLong nameDescription
dudumpDump the schema definition (.df) of a database.
dcdump-customDump the schema definition in a custom format.
didump-incDump an incremental schema definition (.df) by comparing 2 databases.
dddump-inc-dfDump an incremental schema definition (.df) by comparing 2 .df files.
dsdump-sqlDump the SQL-92 schema of a database.
loloadLoad a schema definition (.df) to a database.

SAKOE DATABASE SCHEMA DUMP

Synopsis

Dump the schema definition (.df) of a database.

Usage

sakoe database schema dump <dump-file> [options]

Arguments

ArgumentDescription
<dump-file>Path to the output .df file that will contain the schema definition of the database (extension is optional).

Options

Short nameLong nameDescription
-t--table <tables>A list of comma separated table names for which we need a schema definition dump. Defaults to ALL which dumps every table and sequence.
-c--connection <args>A connection string that can be used to connect to an openedge database. The connection string will be used in a CONNECT statement.
-f--file <file>Path to a database (.db file). The .db extension is optional and the path can be relative to the current directory. Defaults to the path of the unique .db file found in the current directory.
-cp--cp-params <args>Database server internationalization startup parameters such as -cpinternal codepage and -cpstream codepage. This option will be used for openedge commands that support them (_dbutil, _mprosrv, _mprshut, _proutil).
-dl--dlc <dir>The path to the directory containing the Openedge installation. Will default to the path found in the OE_DLC or DLC environment variable if it exists.
-vb--verbosity[:level]Sets the verbosity of this command line tool. To get the ‘raw output’ of a command (without displaying the log), you can set the verbosity to none. Specifying this option without a level value sets the verbosity to debug. Not specifying the option defaults to info. Optionally, set the verbosity level for all commands using the environment variable OE_VERBOSITY.
-lo--log-output[:file]Output all the log message in a file, independently of the current verbosity. This allow to have a normal verbosity in the console while still logging everything to a file. Specifying this option without a value will output to the default file sakoe.log.
-wl--with-logoAlways show the logo on start.
-pb--progress-bar <mode>Sets the display mode of progress bars. Specify off to hide progress bars and stay to make them persistent. Defaults to on, which show progress bars but hide them when done.
-h--helpShow this help text.

SAKOE DATABASE SCHEMA DUMP-CUSTOM

Synopsis

Dump the schema definition in a custom format.

Usage

sakoe database schema dump-custom <dump-file> [options]

Arguments

ArgumentDescription
<dump-file>Path to the output .df file that will contain the schema definition of the database.

Options

Short nameLong nameDescription
-c--connection <args>A connection string that can be used to connect to an openedge database. The connection string will be used in a CONNECT statement.
-f--file <file>Path to a database (.db file). The .db extension is optional and the path can be relative to the current directory. Defaults to the path of the unique .db file found in the current directory.
-cp--cp-params <args>Database server internationalization startup parameters such as -cpinternal codepage and -cpstream codepage. This option will be used for openedge commands that support them (_dbutil, _mprosrv, _mprshut, _proutil).
-dl--dlc <dir>The path to the directory containing the Openedge installation. Will default to the path found in the OE_DLC or DLC environment variable if it exists.
-vb--verbosity[:level]Sets the verbosity of this command line tool. To get the ‘raw output’ of a command (without displaying the log), you can set the verbosity to none. Specifying this option without a level value sets the verbosity to debug. Not specifying the option defaults to info. Optionally, set the verbosity level for all commands using the environment variable OE_VERBOSITY.
-lo--log-output[:file]Output all the log message in a file, independently of the current verbosity. This allow to have a normal verbosity in the console while still logging everything to a file. Specifying this option without a value will output to the default file sakoe.log.
-wl--with-logoAlways show the logo on start.
-pb--progress-bar <mode>Sets the display mode of progress bars. Specify off to hide progress bars and stay to make them persistent. Defaults to on, which show progress bars but hide them when done.
-h--helpShow this help text.

SAKOE DATABASE SCHEMA DUMP-INC

Synopsis

Dump an incremental schema definition (.df) by comparing 2 databases.

Usage

sakoe database schema dump-inc <old-db-path> <new-db-path> <dump-file> [options]

Arguments

ArgumentDescription
<old-db-path>The path to the ‘old’ database. The .db extension is optional.
<new-db-path>The path to the ‘new’ database. The .db extension is optional.
<dump-file>Path to the output incremental .df file (extension is optional).

Options

Short nameLong nameDescription
-rf--rename-file <file>Path to the ‘rename file’. It is a plain text file used to identify database tables and fields that have changed names. This allows to avoid having a DROP then ADD table when you changed only the name of said table. The format of the file is simple (comma separated lines, don’t forget to add a final empty line for IMPORT): - T,old-table-name,new-table-name - F,table-name,old-field-name,new-field-name - S,old-sequence-name,new-sequence-name Missing entries or entries with an empty new name are considered to have been deleted.
-cp--cp-params <args>Database server internationalization startup parameters such as -cpinternal codepage and -cpstream codepage. This option will be used for openedge commands that support them (_dbutil, _mprosrv, _mprshut, _proutil).
-dl--dlc <dir>The path to the directory containing the Openedge installation. Will default to the path found in the OE_DLC or DLC environment variable if it exists.
-vb--verbosity[:level]Sets the verbosity of this command line tool. To get the ‘raw output’ of a command (without displaying the log), you can set the verbosity to none. Specifying this option without a level value sets the verbosity to debug. Not specifying the option defaults to info. Optionally, set the verbosity level for all commands using the environment variable OE_VERBOSITY.
-lo--log-output[:file]Output all the log message in a file, independently of the current verbosity. This allow to have a normal verbosity in the console while still logging everything to a file. Specifying this option without a value will output to the default file sakoe.log.
-wl--with-logoAlways show the logo on start.
-pb--progress-bar <mode>Sets the display mode of progress bars. Specify off to hide progress bars and stay to make them persistent. Defaults to on, which show progress bars but hide them when done.
-h--helpShow this help text.

Description

Two databases schema definition are compared and the difference is written in a ‘delta’ .df. This .df file then allows to upgrade an older database schema to the new schema.

SAKOE DATABASE SCHEMA DUMP-INC-DF

Synopsis

Dump an incremental schema definition (.df) by comparing 2 .df files.

Usage

sakoe database schema dump-inc-df <old df path> <new df path> <dump-file> [options]

Arguments

ArgumentDescription
<old df path>The path to the ‘old’ database.
<new df path>The path to the ‘new’ database.
<dump-file>Path to the output incremental .df file (extension is optional).

Options

Short nameLong nameDescription
-rf--rename-file <file>Path to the ‘rename file’. It is a plain text file used to identify database tables and fields that have changed names. This allows to avoid having a DROP then ADD table when you changed only the name of said table. The format of the file is simple (comma separated lines, don’t forget to add a final empty line for IMPORT): - T,old-table-name,new-table-name - F,table-name,old-field-name,new-field-name - S,old-sequence-name,new-sequence-name Missing entries or entries with an empty new name are considered to have been deleted.
-cp--cp-params <args>Database server internationalization startup parameters such as -cpinternal codepage and -cpstream codepage. This option will be used for openedge commands that support them (_dbutil, _mprosrv, _mprshut, _proutil).
-dl--dlc <dir>The path to the directory containing the Openedge installation. Will default to the path found in the OE_DLC or DLC environment variable if it exists.
-vb--verbosity[:level]Sets the verbosity of this command line tool. To get the ‘raw output’ of a command (without displaying the log), you can set the verbosity to none. Specifying this option without a level value sets the verbosity to debug. Not specifying the option defaults to info. Optionally, set the verbosity level for all commands using the environment variable OE_VERBOSITY.
-lo--log-output[:file]Output all the log message in a file, independently of the current verbosity. This allow to have a normal verbosity in the console while still logging everything to a file. Specifying this option without a value will output to the default file sakoe.log.
-wl--with-logoAlways show the logo on start.
-pb--progress-bar <mode>Sets the display mode of progress bars. Specify off to hide progress bars and stay to make them persistent. Defaults to on, which show progress bars but hide them when done.
-h--helpShow this help text.

SAKOE DATABASE SCHEMA DUMP-SQL

Synopsis

Dump the SQL-92 schema of a database.

Usage

sakoe database schema dump-sql <dump-file> [options]

Arguments

ArgumentDescription
<dump-file>Path to the output .dfsql file that will contain the sql-92 definition of the database (extension is optional).

Options

Short nameLong nameDescription
-op--options <args>Use options for the sqlschema utility (see the documentation online). Defaults to dumping everything.
-c--connection <args>A connection string that can be used to connect to an openedge database. The connection string will be used in a CONNECT statement.
-f--file <file>Path to a database (.db file). The .db extension is optional and the path can be relative to the current directory. Defaults to the path of the unique .db file found in the current directory.
-cp--cp-params <args>Database server internationalization startup parameters such as -cpinternal codepage and -cpstream codepage. This option will be used for openedge commands that support them (_dbutil, _mprosrv, _mprshut, _proutil).
-dl--dlc <dir>The path to the directory containing the Openedge installation. Will default to the path found in the OE_DLC or DLC environment variable if it exists.
-vb--verbosity[:level]Sets the verbosity of this command line tool. To get the ‘raw output’ of a command (without displaying the log), you can set the verbosity to none. Specifying this option without a level value sets the verbosity to debug. Not specifying the option defaults to info. Optionally, set the verbosity level for all commands using the environment variable OE_VERBOSITY.
-lo--log-output[:file]Output all the log message in a file, independently of the current verbosity. This allow to have a normal verbosity in the console while still logging everything to a file. Specifying this option without a value will output to the default file sakoe.log.
-wl--with-logoAlways show the logo on start.
-pb--progress-bar <mode>Sets the display mode of progress bars. Specify off to hide progress bars and stay to make them persistent. Defaults to on, which show progress bars but hide them when done.
-h--helpShow this help text.

SAKOE DATABASE SCHEMA LOAD

Synopsis

Load a schema definition (.df) to a database.

Usage

sakoe database schema load <df-file> [options]

Arguments

ArgumentDescription
<df-file>Path to the .df file that contains the schema definition (or partial schema) of the database.

Options

Short nameLong nameDescription
-c--connection <args>A connection string that can be used to connect to an openedge database. The connection string will be used in a CONNECT statement.
-f--file <file>Path to a database (.db file). The .db extension is optional and the path can be relative to the current directory. Defaults to the path of the unique .db file found in the current directory.
-cp--cp-params <args>Database server internationalization startup parameters such as -cpinternal codepage and -cpstream codepage. This option will be used for openedge commands that support them (_dbutil, _mprosrv, _mprshut, _proutil).
-dl--dlc <dir>The path to the directory containing the Openedge installation. Will default to the path found in the OE_DLC or DLC environment variable if it exists.
-vb--verbosity[:level]Sets the verbosity of this command line tool. To get the ‘raw output’ of a command (without displaying the log), you can set the verbosity to none. Specifying this option without a level value sets the verbosity to debug. Not specifying the option defaults to info. Optionally, set the verbosity level for all commands using the environment variable OE_VERBOSITY.
-lo--log-output[:file]Output all the log message in a file, independently of the current verbosity. This allow to have a normal verbosity in the console while still logging everything to a file. Specifying this option without a value will output to the default file sakoe.log.
-wl--with-logoAlways show the logo on start.
-pb--progress-bar <mode>Sets the display mode of progress bars. Specify off to hide progress bars and stay to make them persistent. Defaults to on, which show progress bars but hide them when done.
-h--helpShow this help text.

SAKOE DATABASE START

Synopsis

Start a database in order to use it in multi-users mode.

Usage

sakoe database start [options] [-- <extra proserve args>...]

Options

Short nameLong nameDescription
-s--service <port>Service name that will be used by this database. Usually a port number or a service name declared in /etc/services.
-h--hostname <host>The hostname on which to start the database. Defaults to the current machine.
-np--next-port <port>Port number, the next available port after this number will be used to start the database.
-f--file <file>Path to a database (.db file). The .db extension is optional and the path can be relative to the current directory. Defaults to the path of the unique .db file found in the current directory.
-cp--cp-params <args>Database server internationalization startup parameters such as -cpinternal codepage and -cpstream codepage. This option will be used for openedge commands that support them (_dbutil, _mprosrv, _mprshut, _proutil).
-dl--dlc <dir>The path to the directory containing the Openedge installation. Will default to the path found in the OE_DLC or DLC environment variable if it exists.
-vb--verbosity[:level]Sets the verbosity of this command line tool. To get the ‘raw output’ of a command (without displaying the log), you can set the verbosity to none. Specifying this option without a level value sets the verbosity to debug. Not specifying the option defaults to info. Optionally, set the verbosity level for all commands using the environment variable OE_VERBOSITY.
-lo--log-output[:file]Output all the log message in a file, independently of the current verbosity. This allow to have a normal verbosity in the console while still logging everything to a file. Specifying this option without a value will output to the default file sakoe.log.
-wl--with-logoAlways show the logo on start.
-pb--progress-bar <mode>Sets the display mode of progress bars. Specify off to hide progress bars and stay to make them persistent. Defaults to on, which show progress bars but hide them when done.
-h--helpShow this help text.

SAKOE DATABASE STOP

Synopsis

Stop a database that was started for multi-users.

Usage

sakoe database stop [options] [-- <extra proshut args>...]

Options

Short nameLong nameDescription
-f--file <file>Path to a database (.db file). The .db extension is optional and the path can be relative to the current directory. Defaults to the path of the unique .db file found in the current directory.
-cp--cp-params <args>Database server internationalization startup parameters such as -cpinternal codepage and -cpstream codepage. This option will be used for openedge commands that support them (_dbutil, _mprosrv, _mprshut, _proutil).
-dl--dlc <dir>The path to the directory containing the Openedge installation. Will default to the path found in the OE_DLC or DLC environment variable if it exists.
-vb--verbosity[:level]Sets the verbosity of this command line tool. To get the ‘raw output’ of a command (without displaying the log), you can set the verbosity to none. Specifying this option without a level value sets the verbosity to debug. Not specifying the option defaults to info. Optionally, set the verbosity level for all commands using the environment variable OE_VERBOSITY.
-lo--log-output[:file]Output all the log message in a file, independently of the current verbosity. This allow to have a normal verbosity in the console while still logging everything to a file. Specifying this option without a value will output to the default file sakoe.log.
-wl--with-logoAlways show the logo on start.
-pb--progress-bar <mode>Sets the display mode of progress bars. Specify off to hide progress bars and stay to make them persistent. Defaults to on, which show progress bars but hide them when done.
-h--helpShow this help text.

SAKOE DATABASE STRUCTURE

Synopsis

Operate on a database structure file (.st).

Usage

sakoe database structure [options] [command]

Options

Short nameLong nameDescription
-h--helpShow this help text.

Commands

Short nameLong nameDescription
adaddAppend the extents from a structure file (.st) to a database.
gegenerateGenerate the structure file (.st) from a definition file (.df).
rmremoveRemove storage areas or extents.
upupdateCreate or update a structure file (.st) from the database .db file.
vavalidateValidate a structure file (.st) against a given database.

SAKOE DATABASE STRUCTURE ADD

Synopsis

Append the extents from a structure file (.st) to a database.

Usage

sakoe database structure add <st-file> [options]

Arguments

ArgumentDescription
<st-file>Path to the structure file (.st) to add. The path can be relative to the current directory.

Options

Short nameLong nameDescription
-a--access <args>Database access/encryption arguments: [[-userid username [-password passwd ]] | [ -U username -P passwd] ] [-Passphrase].
-f--file <file>Path to a database (.db file). The .db extension is optional and the path can be relative to the current directory. Defaults to the path of the unique .db file found in the current directory.
-cp--cp-params <args>Database server internationalization startup parameters such as -cpinternal codepage and -cpstream codepage. This option will be used for openedge commands that support them (_dbutil, _mprosrv, _mprshut, _proutil).
-dl--dlc <dir>The path to the directory containing the Openedge installation. Will default to the path found in the OE_DLC or DLC environment variable if it exists.
-vb--verbosity[:level]Sets the verbosity of this command line tool. To get the ‘raw output’ of a command (without displaying the log), you can set the verbosity to none. Specifying this option without a level value sets the verbosity to debug. Not specifying the option defaults to info. Optionally, set the verbosity level for all commands using the environment variable OE_VERBOSITY.
-lo--log-output[:file]Output all the log message in a file, independently of the current verbosity. This allow to have a normal verbosity in the console while still logging everything to a file. Specifying this option without a value will output to the default file sakoe.log.
-wl--with-logoAlways show the logo on start.
-pb--progress-bar <mode>Sets the display mode of progress bars. Specify off to hide progress bars and stay to make them persistent. Defaults to on, which show progress bars but hide them when done.
-h--helpShow this help text.

SAKOE DATABASE STRUCTURE GENERATE

Synopsis

Generate the structure file (.st) from a definition file (.df).

Usage

sakoe database structure generate <df-file> [options]

Arguments

ArgumentDescription
<df-file>Path to the .df file containing the database schema definition. The path can be relative to the current directory.

Options

Short nameLong nameDescription
-f--file <file>Path to a database (.db file). The .db extension is optional and the path can be relative to the current directory. Defaults to the path of the unique .db file found in the current directory.
-cp--cp-params <args>Database server internationalization startup parameters such as -cpinternal codepage and -cpstream codepage. This option will be used for openedge commands that support them (_dbutil, _mprosrv, _mprshut, _proutil).
-dl--dlc <dir>The path to the directory containing the Openedge installation. Will default to the path found in the OE_DLC or DLC environment variable if it exists.
-vb--verbosity[:level]Sets the verbosity of this command line tool. To get the ‘raw output’ of a command (without displaying the log), you can set the verbosity to none. Specifying this option without a level value sets the verbosity to debug. Not specifying the option defaults to info. Optionally, set the verbosity level for all commands using the environment variable OE_VERBOSITY.
-lo--log-output[:file]Output all the log message in a file, independently of the current verbosity. This allow to have a normal verbosity in the console while still logging everything to a file. Specifying this option without a value will output to the default file sakoe.log.
-wl--with-logoAlways show the logo on start.
-pb--progress-bar <mode>Sets the display mode of progress bars. Specify off to hide progress bars and stay to make them persistent. Defaults to on, which show progress bars but hide them when done.
-h--helpShow this help text.

Description

Create all the needed AREA found in the given schema definition file (.df).

SAKOE DATABASE STRUCTURE REMOVE

Synopsis

Remove storage areas or extents.

Usage

sakoe database structure remove <extent-token> <storage-area> [options]

Arguments

ArgumentDescription
<extent-token>Indicates the type of extent to remove. Specify one of the following: d, bi, ai, tl.
<storage-area>Specifies the name of the storage area to remove.

Options

Short nameLong nameDescription
-a--access <args>Database access/encryption arguments: [[-userid username [-password passwd ]] | [ -U username -P passwd] ] [-Passphrase].
-f--file <file>Path to a database (.db file). The .db extension is optional and the path can be relative to the current directory. Defaults to the path of the unique .db file found in the current directory.
-cp--cp-params <args>Database server internationalization startup parameters such as -cpinternal codepage and -cpstream codepage. This option will be used for openedge commands that support them (_dbutil, _mprosrv, _mprshut, _proutil).
-dl--dlc <dir>The path to the directory containing the Openedge installation. Will default to the path found in the OE_DLC or DLC environment variable if it exists.
-vb--verbosity[:level]Sets the verbosity of this command line tool. To get the ‘raw output’ of a command (without displaying the log), you can set the verbosity to none. Specifying this option without a level value sets the verbosity to debug. Not specifying the option defaults to info. Optionally, set the verbosity level for all commands using the environment variable OE_VERBOSITY.
-lo--log-output[:file]Output all the log message in a file, independently of the current verbosity. This allow to have a normal verbosity in the console while still logging everything to a file. Specifying this option without a value will output to the default file sakoe.log.
-wl--with-logoAlways show the logo on start.
-pb--progress-bar <mode>Sets the display mode of progress bars. Specify off to hide progress bars and stay to make them persistent. Defaults to on, which show progress bars but hide them when done.
-h--helpShow this help text.

SAKOE DATABASE STRUCTURE UPDATE

Synopsis

Create or update a structure file (.st) from the database .db file.

Usage

sakoe database structure update [options]

Options

Short nameLong nameDescription
-rp--relative-pathUse relative path in the structure file.
-dp--directory-pathBy default, listing will output file path to each extent, this option allows to output directory path instead.
-a--access <args>Database access/encryption arguments: [[-userid username [-password passwd ]] | [ -U username -P passwd] ] [-Passphrase].
-f--file <file>Path to a database (.db file). The .db extension is optional and the path can be relative to the current directory. Defaults to the path of the unique .db file found in the current directory.
-cp--cp-params <args>Database server internationalization startup parameters such as -cpinternal codepage and -cpstream codepage. This option will be used for openedge commands that support them (_dbutil, _mprosrv, _mprshut, _proutil).
-dl--dlc <dir>The path to the directory containing the Openedge installation. Will default to the path found in the OE_DLC or DLC environment variable if it exists.
-vb--verbosity[:level]Sets the verbosity of this command line tool. To get the ‘raw output’ of a command (without displaying the log), you can set the verbosity to none. Specifying this option without a level value sets the verbosity to debug. Not specifying the option defaults to info. Optionally, set the verbosity level for all commands using the environment variable OE_VERBOSITY.
-lo--log-output[:file]Output all the log message in a file, independently of the current verbosity. This allow to have a normal verbosity in the console while still logging everything to a file. Specifying this option without a value will output to the default file sakoe.log.
-wl--with-logoAlways show the logo on start.
-pb--progress-bar <mode>Sets the display mode of progress bars. Specify off to hide progress bars and stay to make them persistent. Defaults to on, which show progress bars but hide them when done.
-h--helpShow this help text.

SAKOE DATABASE STRUCTURE VALIDATE

Synopsis

Validate a structure file (.st) against a given database.

Usage

sakoe database structure validate <st-file> [options]

Arguments

ArgumentDescription
<st-file>Path to the structure file (.st) to validate against the database. The path can be relative to the current directory.

Options

Short nameLong nameDescription
-f--file <file>Path to a database (.db file). The .db extension is optional and the path can be relative to the current directory. Defaults to the path of the unique .db file found in the current directory.
-cp--cp-params <args>Database server internationalization startup parameters such as -cpinternal codepage and -cpstream codepage. This option will be used for openedge commands that support them (_dbutil, _mprosrv, _mprshut, _proutil).
-dl--dlc <dir>The path to the directory containing the Openedge installation. Will default to the path found in the OE_DLC or DLC environment variable if it exists.
-vb--verbosity[:level]Sets the verbosity of this command line tool. To get the ‘raw output’ of a command (without displaying the log), you can set the verbosity to none. Specifying this option without a level value sets the verbosity to debug. Not specifying the option defaults to info. Optionally, set the verbosity level for all commands using the environment variable OE_VERBOSITY.
-lo--log-output[:file]Output all the log message in a file, independently of the current verbosity. This allow to have a normal verbosity in the console while still logging everything to a file. Specifying this option without a value will output to the default file sakoe.log.
-wl--with-logoAlways show the logo on start.
-pb--progress-bar <mode>Sets the display mode of progress bars. Specify off to hide progress bars and stay to make them persistent. Defaults to on, which show progress bars but hide them when done.
-h--helpShow this help text.

Description

Validates whether or not the structure is valid to use either for creation (if the database does not exist) or for an update.

SAKOE MANUAL

Synopsis

The manual of this tool. Learn about the usage and key concepts of sakoe.

Usage

sakoe manual [options]

Options

Short nameLong nameDescription
-h--helpShow this help text.

What is this tool

SAKOE is a collection of tools aimed to simplify your work in Openedge environments.

About this manual

The goal of this manual is to provide KEY concepts that are necessary to understand to use this tool to its fullest.
Each command is well documented on its own, don’t be afraid to use the --help option.

Command line usage

How to use this command line interface tool:

Response file parsing

Instead of using a long command line (which is limited in size on every platform), you can use a response file that contains each argument/option that should be used.
Everything that is usually separated by a space in the command line should be separated by a new line in the file.In response files, you do not have to double quote arguments containing spaces, they will be considered as a whole as long as they are on a separated line.
sakoe @responsefile.txt

Exit code

The convention followed by this tool is the following.

Website

The official page of this tool is: https://jcaillon.github.io/Oetools.Sakoe/.
You are invited to STAR the project on github to increase its visibility!

SAKOE PROGRESS

Synopsis

Progress utilities commands.

Usage

sakoe progress [options] [command]

Options

Short nameLong nameDescription
-h--helpShow this help text.

Commands

Short nameLong nameDescription
epexe-pathReturns the full path of the progress executable.
gdgenerate-dsGenerate a dataset definition from a xsd/xml file.
hphelpAccess the Openedge help.
riread-iniGet the PROPATH value found in a .ini file.
rpread-pfGet a single line argument string from a .pf file.
veversionGet the version found for the Openedge installation.
wdwsdl-docGenerate an html documentation from a wsdl.

SAKOE PROGRESS EXE-PATH

Synopsis

Returns the full path of the progress executable.

Usage

sakoe progress exe-path [options]

Options

Short nameLong nameDescription
-c--char-modeAlways return the path of the character mode executable (otherwise prowin is returned by default on windows platform).
-dl--dlc <dir>The path to the directory containing the Openedge installation. Will default to the path found in the OE_DLC or DLC environment variable if it exists.
-vb--verbosity[:level]Sets the verbosity of this command line tool. To get the ‘raw output’ of a command (without displaying the log), you can set the verbosity to none. Specifying this option without a level value sets the verbosity to debug. Not specifying the option defaults to info. Optionally, set the verbosity level for all commands using the environment variable OE_VERBOSITY.
-lo--log-output[:file]Output all the log message in a file, independently of the current verbosity. This allow to have a normal verbosity in the console while still logging everything to a file. Specifying this option without a value will output to the default file sakoe.log.
-wl--with-logoAlways show the logo on start.
-pb--progress-bar <mode>Sets the display mode of progress bars. Specify off to hide progress bars and stay to make them persistent. Defaults to on, which show progress bars but hide them when done.
-h--helpShow this help text.

SAKOE PROGRESS GENERATE-DS

Synopsis

Generate a dataset definition from a xsd/xml file.

Usage

sakoe progress generate-ds <file> [options]

Arguments

ArgumentDescription
<file>Path to an .xml or .xsd file from which to generate the dataset definition.

Options

Short nameLong nameDescription
-o--output <file>The path to the output include file (.i) that will contain the dataset definition. Defaults to the input file name with the .i extension.
-dl--dlc <dir>The path to the directory containing the Openedge installation. Will default to the path found in the OE_DLC or DLC environment variable if it exists.
-vb--verbosity[:level]Sets the verbosity of this command line tool. To get the ‘raw output’ of a command (without displaying the log), you can set the verbosity to none. Specifying this option without a level value sets the verbosity to debug. Not specifying the option defaults to info. Optionally, set the verbosity level for all commands using the environment variable OE_VERBOSITY.
-lo--log-output[:file]Output all the log message in a file, independently of the current verbosity. This allow to have a normal verbosity in the console while still logging everything to a file. Specifying this option without a value will output to the default file sakoe.log.
-wl--with-logoAlways show the logo on start.
-pb--progress-bar <mode>Sets the display mode of progress bars. Specify off to hide progress bars and stay to make them persistent. Defaults to on, which show progress bars but hide them when done.
-h--helpShow this help text.

SAKOE PROGRESS HELP

Synopsis

Access the Openedge help.

Usage

sakoe progress help [options] [command]

Options

Short nameLong nameDescription
-h--helpShow this help text.

Commands

Short nameLong nameDescription
lslistList all the .chm files (windows help files) available in $DLC/prohelp.
msmessageDisplay the extended error message using an error number.
onopenOpen an help file (.chm) present in $DLC/prohelp.
srsearchSearch for a keyword in the language windows help file.

SAKOE PROGRESS HELP LIST

Synopsis

List all the .chm files (windows help files) available in $DLC/prohelp.

Usage

sakoe progress help list [options]

Options

Short nameLong nameDescription
-dl--dlc <dir>The path to the directory containing the Openedge installation. Will default to the path found in the OE_DLC or DLC environment variable if it exists.
-vb--verbosity[:level]Sets the verbosity of this command line tool. To get the ‘raw output’ of a command (without displaying the log), you can set the verbosity to none. Specifying this option without a level value sets the verbosity to debug. Not specifying the option defaults to info. Optionally, set the verbosity level for all commands using the environment variable OE_VERBOSITY.
-lo--log-output[:file]Output all the log message in a file, independently of the current verbosity. This allow to have a normal verbosity in the console while still logging everything to a file. Specifying this option without a value will output to the default file sakoe.log.
-wl--with-logoAlways show the logo on start.
-pb--progress-bar <mode>Sets the display mode of progress bars. Specify off to hide progress bars and stay to make them persistent. Defaults to on, which show progress bars but hide them when done.
-h--helpShow this help text.

SAKOE PROGRESS HELP MESSAGE

Synopsis

Display the extended error message using an error number.

Usage

sakoe progress help message <message number> [options]

Arguments

ArgumentDescription
<message number>The number of the error message to show.

Options

Short nameLong nameDescription
-dl--dlc <dir>The path to the directory containing the Openedge installation. Will default to the path found in the OE_DLC or DLC environment variable if it exists.
-vb--verbosity[:level]Sets the verbosity of this command line tool. To get the ‘raw output’ of a command (without displaying the log), you can set the verbosity to none. Specifying this option without a level value sets the verbosity to debug. Not specifying the option defaults to info. Optionally, set the verbosity level for all commands using the environment variable OE_VERBOSITY.
-lo--log-output[:file]Output all the log message in a file, independently of the current verbosity. This allow to have a normal verbosity in the console while still logging everything to a file. Specifying this option without a value will output to the default file sakoe.log.
-wl--with-logoAlways show the logo on start.
-pb--progress-bar <mode>Sets the display mode of progress bars. Specify off to hide progress bars and stay to make them persistent. Defaults to on, which show progress bars but hide them when done.
-h--helpShow this help text.

Description

This command uses the content of files located in $DLC/prohelp/msgdata to display information.

SAKOE PROGRESS HELP OPEN

Synopsis

Open an help file (.chm) present in $DLC/prohelp.

Usage

sakoe progress help open <chm name> [options]

Arguments

ArgumentDescription
<chm name>The file name of the .chm file to display.

Options

Short nameLong nameDescription
-t--topic <topic>Open the .chm on the given topic.
-dl--dlc <dir>The path to the directory containing the Openedge installation. Will default to the path found in the OE_DLC or DLC environment variable if it exists.
-vb--verbosity[:level]Sets the verbosity of this command line tool. To get the ‘raw output’ of a command (without displaying the log), you can set the verbosity to none. Specifying this option without a level value sets the verbosity to debug. Not specifying the option defaults to info. Optionally, set the verbosity level for all commands using the environment variable OE_VERBOSITY.
-lo--log-output[:file]Output all the log message in a file, independently of the current verbosity. This allow to have a normal verbosity in the console while still logging everything to a file. Specifying this option without a value will output to the default file sakoe.log.
-wl--with-logoAlways show the logo on start.
-pb--progress-bar <mode>Sets the display mode of progress bars. Specify off to hide progress bars and stay to make them persistent. Defaults to on, which show progress bars but hide them when done.
-h--helpShow this help text.

SAKOE PROGRESS HELP SEARCH

Synopsis

Search for a keyword in the language windows help file.

Usage

sakoe progress help search <keyword> [options]

Arguments

ArgumentDescription
<keyword>The keyword you would like to find in the help.

Options

Short nameLong nameDescription
-dl--dlc <dir>The path to the directory containing the Openedge installation. Will default to the path found in the OE_DLC or DLC environment variable if it exists.
-vb--verbosity[:level]Sets the verbosity of this command line tool. To get the ‘raw output’ of a command (without displaying the log), you can set the verbosity to none. Specifying this option without a level value sets the verbosity to debug. Not specifying the option defaults to info. Optionally, set the verbosity level for all commands using the environment variable OE_VERBOSITY.
-lo--log-output[:file]Output all the log message in a file, independently of the current verbosity. This allow to have a normal verbosity in the console while still logging everything to a file. Specifying this option without a value will output to the default file sakoe.log.
-wl--with-logoAlways show the logo on start.
-pb--progress-bar <mode>Sets the display mode of progress bars. Specify off to hide progress bars and stay to make them persistent. Defaults to on, which show progress bars but hide them when done.
-h--helpShow this help text.

SAKOE PROGRESS READ-INI

Synopsis

Get the PROPATH value found in a .ini file.

Usage

sakoe progress read-ini <ini path> [options]

Arguments

ArgumentDescription
<ini path>The file path to the .ini file to read.

Options

Short nameLong nameDescription
-d--directoryThe base directory to use to convert to absolute path. Default to the current directory.
-dl--dlc <dir>The path to the directory containing the Openedge installation. Will default to the path found in the OE_DLC or DLC environment variable if it exists.
-vb--verbosity[:level]Sets the verbosity of this command line tool. To get the ‘raw output’ of a command (without displaying the log), you can set the verbosity to none. Specifying this option without a level value sets the verbosity to debug. Not specifying the option defaults to info. Optionally, set the verbosity level for all commands using the environment variable OE_VERBOSITY.
-lo--log-output[:file]Output all the log message in a file, independently of the current verbosity. This allow to have a normal verbosity in the console while still logging everything to a file. Specifying this option without a value will output to the default file sakoe.log.
-wl--with-logoAlways show the logo on start.
-pb--progress-bar <mode>Sets the display mode of progress bars. Specify off to hide progress bars and stay to make them persistent. Defaults to on, which show progress bars but hide them when done.
-h--helpShow this help text.

Description

SAKOE PROGRESS READ-PF

Synopsis

Get a single line argument string from a .pf file.

Usage

sakoe progress read-pf <pf path> [options]

Arguments

ArgumentDescription
<pf path>The file path to the parameter file (.pf) to use.

Options

Short nameLong nameDescription
-vb--verbosity[:level]Sets the verbosity of this command line tool. To get the ‘raw output’ of a command (without displaying the log), you can set the verbosity to none. Specifying this option without a level value sets the verbosity to debug. Not specifying the option defaults to info. Optionally, set the verbosity level for all commands using the environment variable OE_VERBOSITY.
-lo--log-output[:file]Output all the log message in a file, independently of the current verbosity. This allow to have a normal verbosity in the console while still logging everything to a file. Specifying this option without a value will output to the default file sakoe.log.
-wl--with-logoAlways show the logo on start.
-pb--progress-bar <mode>Sets the display mode of progress bars. Specify off to hide progress bars and stay to make them persistent. Defaults to on, which show progress bars but hide them when done.
-h--helpShow this help text.

Description

SAKOE PROGRESS VERSION

Synopsis

Get the version found for the Openedge installation.

Usage

sakoe progress version [options]

Options

Short nameLong nameDescription
-dl--dlc <dir>The path to the directory containing the Openedge installation. Will default to the path found in the OE_DLC or DLC environment variable if it exists.
-vb--verbosity[:level]Sets the verbosity of this command line tool. To get the ‘raw output’ of a command (without displaying the log), you can set the verbosity to none. Specifying this option without a level value sets the verbosity to debug. Not specifying the option defaults to info. Optionally, set the verbosity level for all commands using the environment variable OE_VERBOSITY.
-lo--log-output[:file]Output all the log message in a file, independently of the current verbosity. This allow to have a normal verbosity in the console while still logging everything to a file. Specifying this option without a value will output to the default file sakoe.log.
-wl--with-logoAlways show the logo on start.
-pb--progress-bar <mode>Sets the display mode of progress bars. Specify off to hide progress bars and stay to make them persistent. Defaults to on, which show progress bars but hide them when done.
-h--helpShow this help text.

SAKOE PROGRESS WSDL-DOC

Synopsis

Generate an html documentation from a wsdl.

Usage

sakoe progress wsdl-doc <wsdl> [options]

Arguments

ArgumentDescription
<wsdl>Path to the wsdl file from which to generate the documentation.

Options

Short nameLong nameDescription
-o--output <dir>The directory where to generate the documentation. Defaults to a sub folder named as the .wsdl in the current directory.
-u--unattendedDo not open the html documentation with the default browser after its creation.
-b--bindingsForce documentation of WSDL bindings.
-dl--dlc <dir>The path to the directory containing the Openedge installation. Will default to the path found in the OE_DLC or DLC environment variable if it exists.
-vb--verbosity[:level]Sets the verbosity of this command line tool. To get the ‘raw output’ of a command (without displaying the log), you can set the verbosity to none. Specifying this option without a level value sets the verbosity to debug. Not specifying the option defaults to info. Optionally, set the verbosity level for all commands using the environment variable OE_VERBOSITY.
-lo--log-output[:file]Output all the log message in a file, independently of the current verbosity. This allow to have a normal verbosity in the console while still logging everything to a file. Specifying this option without a value will output to the default file sakoe.log.
-wl--with-logoAlways show the logo on start.
-pb--progress-bar <mode>Sets the display mode of progress bars. Specify off to hide progress bars and stay to make them persistent. Defaults to on, which show progress bars but hide them when done.
-h--helpShow this help text.

Description

Use this command to generate an html documentation that guides you on how to use the webservice using openedge ABL language.

SAKOE PROJECT

Synopsis

Commands related to an Openedge project (.oe directory).

Usage

sakoe project [options] [command]

Options

Short nameLong nameDescription
-h--helpShow this help text.

Commands

Short nameLong nameDescription
bdbuildBuild automation for Openedge projects.
gigit-ignoreInitialize a .gitignore file adapted for sakoe projects (or append to, if it exists).
ininitInitialize a new Openedge project file (.oeproj.xml).
lslistList all the project files or list the build configurations in a project file.
prprojectOperates on databases belonging to a project.
upupdateUpdate the Project.xsd file of the project with the latest version embedded in this tool.

SAKOE PROJECT BUILD

Synopsis

Build automation for Openedge projects.

Usage

sakoe project build [options]

Options

Short nameLong nameDescription
-f--file <file>Path or name of the project file. The .oeproj.xml extension is optional. Defaults to the first .oeproj.xml file found. The search is done in the current directory and in the .oe directory when it exists.
-c--config-name <config>The name of the build configuration to use for the build. This name is found in the .oeproj.xml file. Defaults to the first build configuration found in the project file.
-e--extra-config <project=config>(Can be used multiple times) In addition to the base build configuration specified by and --config-name, you can dynamically add a child configuration to the base configuration with this option. This option can be used multiple times, each new configuration will be added as a child of the previously defined configuration. This option allows you to share, with your colleagues, a common project file that holds the property of your application and have an extra configuration in local (just for you) which you can use to build the project in a specific local directory. For each extra configuration, specify the path or the name of the project file and the configuration name to use. If the project file name if empty, the main is used.
-p--property <key=value>(Can be used multiple times) A pair of key/value to dynamically set a property for this build. The value set this way will prevail over the value defined in a project file. Each pair should specify the name of the property to set and the value that should be used. Use the option –property-help to see the full list of properties available as well as their documentation.
-v--variable <key=value>(Can be used multiple times) A pair of key/value to dynamically set a variable for this build. A variable set this way will prevail over a variable with the same name defined in a project file. Each pair should specify the name of the variable to set and the value that should be used.
-ph--property-helpShows the list of each build property usable with its full documentation.
-dl--dlc <dir>The path to the directory containing the Openedge installation. Will default to the path found in the OE_DLC or DLC environment variable if it exists.
-vb--verbosity[:level]Sets the verbosity of this command line tool. To get the ‘raw output’ of a command (without displaying the log), you can set the verbosity to none. Specifying this option without a level value sets the verbosity to debug. Not specifying the option defaults to info. Optionally, set the verbosity level for all commands using the environment variable OE_VERBOSITY.
-lo--log-output[:file]Output all the log message in a file, independently of the current verbosity. This allow to have a normal verbosity in the console while still logging everything to a file. Specifying this option without a value will output to the default file sakoe.log.
-wl--with-logoAlways show the logo on start.
-pb--progress-bar <mode>Sets the display mode of progress bars. Specify off to hide progress bars and stay to make them persistent. Defaults to on, which show progress bars but hide them when done.
-h--helpShow this help text.

Build properties

Display the full documentation of each build property by running sakoe project build --property-help.

Extra config

The example below illustrate the usage of the –extra-config option:We have 2 project files (p1 and p2) containing build configurations as described below:
p1.oeproj.xml
p2.oeproj.xml
We use the following command line to start a build:
sakoe project build p1 --config-name Configuration1 --extra-config p2=Configuration6 --extra-config Configuration2
Below is the equivalent of how build configurations are nested in this scenario:
Configuration1
This allow a lot of flexibility for organizing and partitioning your build process.

Notes

Create a new project file using the command: sakoe project init.Get a more in-depth help and learn about the concept of a build (in sakoe) using the command: sakoe manual command build.

SAKOE PROJECT GIT-IGNORE

Synopsis

Initialize a .gitignore file adapted for sakoe projects (or append to, if it exists).

Usage

sakoe project git-ignore [options]

Options

Short nameLong nameDescription
-d--directory <dir>The repository base directory (source directory). Defaults to the current directory.
-vb--verbosity[:level]Sets the verbosity of this command line tool. To get the ‘raw output’ of a command (without displaying the log), you can set the verbosity to none. Specifying this option without a level value sets the verbosity to debug. Not specifying the option defaults to info. Optionally, set the verbosity level for all commands using the environment variable OE_VERBOSITY.
-lo--log-output[:file]Output all the log message in a file, independently of the current verbosity. This allow to have a normal verbosity in the console while still logging everything to a file. Specifying this option without a value will output to the default file sakoe.log.
-wl--with-logoAlways show the logo on start.
-pb--progress-bar <mode>Sets the display mode of progress bars. Specify off to hide progress bars and stay to make them persistent. Defaults to on, which show progress bars but hide them when done.
-h--helpShow this help text.

SAKOE PROJECT INIT

Synopsis

Initialize a new Openedge project file (.oeproj.xml).

Usage

sakoe project init [options]

Options

Short nameLong nameDescription
-f--file <name>The name of the project (project file) to create. Defaults to the current directory name.
-d--directory <dir>The directory in which to initialize the project. Defaults to the current directory.
-l--localCreate the new project file for local use only. A local project should contain build configurations specific to your machine and thus should not be shared or versioned in your source control system.
-o--overrideForce the creation of the project file by replacing an older project file, if it exists. By default, the command will fail if the project file already exists.
-vb--verbosity[:level]Sets the verbosity of this command line tool. To get the ‘raw output’ of a command (without displaying the log), you can set the verbosity to none. Specifying this option without a level value sets the verbosity to debug. Not specifying the option defaults to info. Optionally, set the verbosity level for all commands using the environment variable OE_VERBOSITY.
-lo--log-output[:file]Output all the log message in a file, independently of the current verbosity. This allow to have a normal verbosity in the console while still logging everything to a file. Specifying this option without a value will output to the default file sakoe.log.
-wl--with-logoAlways show the logo on start.
-pb--progress-bar <mode>Sets the display mode of progress bars. Specify off to hide progress bars and stay to make them persistent. Defaults to on, which show progress bars but hide them when done.
-h--helpShow this help text.

SAKOE PROJECT LIST

Synopsis

List all the project files or list the build configurations in a project file.

Usage

sakoe project list [options]

Options

Short nameLong nameDescription
-p--path <path>The project file in which to list the build configurations or the project base directory (source directory) in which to list the project files. Defaults to the current directory.
-vb--verbosity[:level]Sets the verbosity of this command line tool. To get the ‘raw output’ of a command (without displaying the log), you can set the verbosity to none. Specifying this option without a level value sets the verbosity to debug. Not specifying the option defaults to info. Optionally, set the verbosity level for all commands using the environment variable OE_VERBOSITY.
-lo--log-output[:file]Output all the log message in a file, independently of the current verbosity. This allow to have a normal verbosity in the console while still logging everything to a file. Specifying this option without a value will output to the default file sakoe.log.
-wl--with-logoAlways show the logo on start.
-pb--progress-bar <mode>Sets the display mode of progress bars. Specify off to hide progress bars and stay to make them persistent. Defaults to on, which show progress bars but hide them when done.
-h--helpShow this help text.

SAKOE PROJECT PROJECT

Synopsis

Operates on databases belonging to a project.

Usage

sakoe project project [options] [command]

Options

Short nameLong nameDescription
-vb--verbosity[:level]Sets the verbosity of this command line tool. To get the ‘raw output’ of a command (without displaying the log), you can set the verbosity to none. Specifying this option without a level value sets the verbosity to debug. Not specifying the option defaults to info. Optionally, set the verbosity level for all commands using the environment variable OE_VERBOSITY.
-lo--log-output[:file]Output all the log message in a file, independently of the current verbosity. This allow to have a normal verbosity in the console while still logging everything to a file. Specifying this option without a value will output to the default file sakoe.log.
-wl--with-logoAlways show the logo on start.
-pb--progress-bar <mode>Sets the display mode of progress bars. Specify off to hide progress bars and stay to make them persistent. Defaults to on, which show progress bars but hide them when done.
-h--helpShow this help text.

Commands

Short nameLong nameDescription
crcreateTODO : repair database

SAKOE PROJECT PROJECT CREATE

Synopsis

TODO : repair database

Usage

sakoe project project create [options]

Options

Short nameLong nameDescription
-dl--dlc <dir>The path to the directory containing the Openedge installation. Will default to the path found in the OE_DLC or DLC environment variable if it exists.
-vb--verbosity[:level]Sets the verbosity of this command line tool. To get the ‘raw output’ of a command (without displaying the log), you can set the verbosity to none. Specifying this option without a level value sets the verbosity to debug. Not specifying the option defaults to info. Optionally, set the verbosity level for all commands using the environment variable OE_VERBOSITY.
-lo--log-output[:file]Output all the log message in a file, independently of the current verbosity. This allow to have a normal verbosity in the console while still logging everything to a file. Specifying this option without a value will output to the default file sakoe.log.
-wl--with-logoAlways show the logo on start.
-pb--progress-bar <mode>Sets the display mode of progress bars. Specify off to hide progress bars and stay to make them persistent. Defaults to on, which show progress bars but hide them when done.
-vb--verbosity[:level]Sets the verbosity of this command line tool. To get the ‘raw output’ of a command (without displaying the log), you can set the verbosity to none. Specifying this option without a level value sets the verbosity to debug. Not specifying the option defaults to info. Optionally, set the verbosity level for all commands using the environment variable OE_VERBOSITY.
-lo--log-output[:file]Output all the log message in a file, independently of the current verbosity. This allow to have a normal verbosity in the console while still logging everything to a file. Specifying this option without a value will output to the default file sakoe.log.
-wl--with-logoAlways show the logo on start.
-pb--progress-bar <mode>Sets the display mode of progress bars. Specify off to hide progress bars and stay to make them persistent. Defaults to on, which show progress bars but hide them when done.
-h--helpShow this help text.

Description

TODO : database

SAKOE PROJECT UPDATE

Synopsis

Update the Project.xsd file of the project with the latest version embedded in this tool.

Usage

sakoe project update [options]

Options

Short nameLong nameDescription
-d--directory <dir>The directory in which the project is located. Defaults to the current directory.
-vb--verbosity[:level]Sets the verbosity of this command line tool. To get the ‘raw output’ of a command (without displaying the log), you can set the verbosity to none. Specifying this option without a level value sets the verbosity to debug. Not specifying the option defaults to info. Optionally, set the verbosity level for all commands using the environment variable OE_VERBOSITY.
-lo--log-output[:file]Output all the log message in a file, independently of the current verbosity. This allow to have a normal verbosity in the console while still logging everything to a file. Specifying this option without a value will output to the default file sakoe.log.
-wl--with-logoAlways show the logo on start.
-pb--progress-bar <mode>Sets the display mode of progress bars. Specify off to hide progress bars and stay to make them persistent. Defaults to on, which show progress bars but hide them when done.
-h--helpShow this help text.

SAKOE TOOL

Synopsis

Manage external tools usable in sakoe.

Usage

sakoe tool [options] [command]

Options

Short nameLong nameDescription
-h--helpShow this help text.

Commands

Short nameLong nameDescription
dddatadiggerDataDigger is a tool for exploring and modifying the data of a database.

SAKOE TOOL DATADIGGER

Synopsis

DataDigger is a tool for exploring and modifying the data of a database.

Usage

sakoe tool datadigger [options] [command]

Options

Short nameLong nameDescription
-h--helpShow this help text.

Commands

Short nameLong nameDescription
ininstallInstall DataDigger in the default installation path.
rmremoveRemove DataDigger from the installation path.
rurunRun a new DataDigger instance.

Description

The default sub command for this command is run.
If DataDigger is already installed on your computer, you can use the environment variable OE_DATADIGGER_INSTALL_PATH to specify the installation location so sakoe knows where to find the tool. Otherwise, simply let sakoe install it in the default location.
DataDigger is maintained by Patrick Tingen: https://github.com/patrickTingen/DataDigger.
Learn more here: https://datadigger.wordpress.com.

SAKOE TOOL DATADIGGER INSTALL

Synopsis

Install DataDigger in the default installation path.

Usage

sakoe tool datadigger install [options]

Options

Short nameLong nameDescription
-b--get-pre-releaseAccept to install pre-release (i.e. ‘beta’) versions of the tool.
-p--proxy <url>The http proxy to use for this update. Useful if you are behind a corporate firewall. The expected format is: ‘http(s)://[user:password@]host[:port]’. It is also possible to use the environment variables OE_HTTP_PROXY or http_proxy to set this value.
-f--forceForce the installation even if the tool is already installed.
-vb--verbosity[:level]Sets the verbosity of this command line tool. To get the ‘raw output’ of a command (without displaying the log), you can set the verbosity to none. Specifying this option without a level value sets the verbosity to debug. Not specifying the option defaults to info. Optionally, set the verbosity level for all commands using the environment variable OE_VERBOSITY.
-lo--log-output[:file]Output all the log message in a file, independently of the current verbosity. This allow to have a normal verbosity in the console while still logging everything to a file. Specifying this option without a value will output to the default file sakoe.log.
-wl--with-logoAlways show the logo on start.
-pb--progress-bar <mode>Sets the display mode of progress bars. Specify off to hide progress bars and stay to make them persistent. Defaults to on, which show progress bars but hide them when done.
-h--helpShow this help text.

Description

Use the environment variable OE_DATADIGGER_INSTALL_PATH to specify a different location.

SAKOE TOOL DATADIGGER REMOVE

Synopsis

Remove DataDigger from the installation path.

Usage

sakoe tool datadigger remove [options]

Options

Short nameLong nameDescription
-f--forceMandatory option to force the removal and avoid bad manipulation.
-vb--verbosity[:level]Sets the verbosity of this command line tool. To get the ‘raw output’ of a command (without displaying the log), you can set the verbosity to none. Specifying this option without a level value sets the verbosity to debug. Not specifying the option defaults to info. Optionally, set the verbosity level for all commands using the environment variable OE_VERBOSITY.
-lo--log-output[:file]Output all the log message in a file, independently of the current verbosity. This allow to have a normal verbosity in the console while still logging everything to a file. Specifying this option without a value will output to the default file sakoe.log.
-wl--with-logoAlways show the logo on start.
-pb--progress-bar <mode>Sets the display mode of progress bars. Specify off to hide progress bars and stay to make them persistent. Defaults to on, which show progress bars but hide them when done.
-h--helpShow this help text.

SAKOE TOOL DATADIGGER RUN

Synopsis

Run a new DataDigger instance.

Usage

sakoe tool datadigger run [options] [-- <extra pro args>...]

Options

Short nameLong nameDescription
-ro--read-onlyStart DataDigger in read-only mode (records will not modifiable).
-d--detachedUse this option to immediately return to the prompt instead of waiting the for the program to exit.
-c--connection <args>(Can be used multiple times) A connection string that can be used to connect to one or more openedge database. The connection string will be used in a CONNECT statement.
-f--file <path>(Can be used multiple times) Path to a database (.db file). The .db extension is optional and the path can be relative to the current directory. Defaults to a list of path of all the .db file found in the current directory.
-cp--cp-params <args>Database server internationalization startup parameters such as -cpinternal codepage and -cpstream codepage. This option will be used for openedge commands that support them (_dbutil, _mprosrv, _mprshut, _proutil).
-dl--dlc <dir>The path to the directory containing the Openedge installation. Will default to the path found in the OE_DLC or DLC environment variable if it exists.
-vb--verbosity[:level]Sets the verbosity of this command line tool. To get the ‘raw output’ of a command (without displaying the log), you can set the verbosity to none. Specifying this option without a level value sets the verbosity to debug. Not specifying the option defaults to info. Optionally, set the verbosity level for all commands using the environment variable OE_VERBOSITY.
-lo--log-output[:file]Output all the log message in a file, independently of the current verbosity. This allow to have a normal verbosity in the console while still logging everything to a file. Specifying this option without a value will output to the default file sakoe.log.
-wl--with-logoAlways show the logo on start.
-pb--progress-bar <mode>Sets the display mode of progress bars. Specify off to hide progress bars and stay to make them persistent. Defaults to on, which show progress bars but hide them when done.
-h--helpShow this help text.

Description

Please note that when running DataDigger, the DataDigger.pf file of the installation path is used.

SAKOE UPDATE

Synopsis

Update this tool with the latest release found on github.

Usage

sakoe update [options]

Options

Short nameLong nameDescription
-b--get-pre-releaseAccept to update from new pre-release (i.e. ‘beta’) versions of the tool. This option will be used by default if the current version of the tool is a pre-release version. Otherwise, only stable releases will be used for updates.
-p--proxy <url>The http proxy to use for this update. Useful if you are behind a corporate firewall. The expected format is: ‘http(s)://[user:password@]host[:port]’. It is also possible to use the environment variables OE_HTTP_PROXY or http_proxy to set this value.
-c--check-onlyCheck for new releases but exit the command before actually updating the tool.
-vb--verbosity[:level]Sets the verbosity of this command line tool. To get the ‘raw output’ of a command (without displaying the log), you can set the verbosity to none. Specifying this option without a level value sets the verbosity to debug. Not specifying the option defaults to info. Optionally, set the verbosity level for all commands using the environment variable OE_VERBOSITY.
-lo--log-output[:file]Output all the log message in a file, independently of the current verbosity. This allow to have a normal verbosity in the console while still logging everything to a file. Specifying this option without a value will output to the default file sakoe.log.
-wl--with-logoAlways show the logo on start.
-pb--progress-bar <mode>Sets the display mode of progress bars. Specify off to hide progress bars and stay to make them persistent. Defaults to on, which show progress bars but hide them when done.
-h--helpShow this help text.

SAKOE VERSION

Synopsis

Show the version information of this tool.

Usage

sakoe version [options]

Options

Short nameLong nameDescription
-b--bare-versionOutput the raw assembly version of the tool, without logo and pre-release tag.
-vb--verbosity[:level]Sets the verbosity of this command line tool. To get the ‘raw output’ of a command (without displaying the log), you can set the verbosity to none. Specifying this option without a level value sets the verbosity to debug. Not specifying the option defaults to info. Optionally, set the verbosity level for all commands using the environment variable OE_VERBOSITY.
-lo--log-output[:file]Output all the log message in a file, independently of the current verbosity. This allow to have a normal verbosity in the console while still logging everything to a file. Specifying this option without a value will output to the default file sakoe.log.
-wl--with-logoAlways show the logo on start.
-pb--progress-bar <mode>Sets the display mode of progress bars. Specify off to hide progress bars and stay to make them persistent. Defaults to on, which show progress bars but hide them when done.
-h--helpShow this help text.