Kbase P103489: Can an incremental df be created without using Create Increment df Utility?
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  16/03/2010 |
|
Status: Verified
GOAL:
Can an incremental df be created without using Create Increment df Utility?
GOAL:
How to create an incremental df from a script/bat file
GOAL:
Is it possible to write a batch procedure to create an incremental df file?
FACT(s) (Environment):
All Supported Operating Systems
OpenEdge 10.x
FIX:
Yes, you can run prodict/dump_inc.p which calls into the "Create Incremental Df" Utility from either the command line or from within a procedure. This procedure uses environmental variables to answer questions that are asked during the execution of the regular utility.
This is a batch incremental .df utility. The databases that it uses have the following aliases defined:
DICTDB current database (first connected database, "master")
DICTDB2 database chosen to compare against (second connected database, "slave")
Environment Variables:
DUMP_INC_DFFILE : name of file to dump to
DUMP_INC_CODEPAGE : output codepage
DUMP_INC_INDEXMODE : index-mode for newly created indexes
allowed values are: "active", "inactive"
DUMP_INC_RENAMEFILE : name of the file with rename definitions
DUMP_INC_DEBUG :debug-level: 0 = debug off (only errors
and important warnings)
1 = all the above plus all warnings
2 = all the above plus config info
Code-page - support:
code-page = ? :cpstream = UNDEFINED*
code-page = "" : cpstream = (SESSION:STREAM)
code-page = "<code-page>" : cpstream will either be SESSION:STREAM or
UNDEFINED*
*Undefined code page is a special code page which tells Progress not to do any conversion when reading or writing data. As long a