Dataflex 2.3b/3.01 patches & utilitiesY2K versions of Dataflex 2.3b & 3.01b in several flavorsDataflex 2.3b Enhanced solves most of the problems connected with the year 2000 for (legacy) systems, written in Dataflex 2.3b. More information can be found on the pages of Data Access Corporation. DAC supplies a standard DF 2.3b Enhanced version. On this page other versions and several patches and utilities are available. NOTE: in all cases you need a valid license for the non-patched runtime. The demo versions are for evaluation purposes. They perform a couple of hundred Y2K compliant operations before falling back into the non-patched state. All modified Dataflex runtimes can be tailored to your needs using DFpatch.exe from the original DF2.3b Enhanced software or from en7.zip. Try all versions of DFpatch.exe. Only one of them will work correctly with your enhanced Dataflex runtime. Before using the Enhanced runtimes, you will have to convert all dates in your DF-files to the 4 digit year format. The quickest way to do this is to set all indexes offline, adjust the datafiles, set all indexes online and reindex the files. Conv2000.flx automates these steps for DF2.3b files. Conv99.flx reverts the changes if you want to restore the old setup after testing a demo runtime. Low CPU version
The standard version of DF 2.3b grabs hold of all the CPU-time, even if it is idle in a background window. Especially under NT and XP this is a real performance killer. The low CPU version replaces the slow DOS keyboard polling by the much faster BIOS routines. And, even more, under NT/XT it puts the DOS box very rapidly in an idle state. Under these circumstances it is even possible to open 20-50 terminal sessions at the same time on the same server without any performance problems. The demo version will show you the difference: whenever you hit a Flexkey dflowcpu.exe toggles from low CPU state to high CPU state and vice versa.
Augustinian dates / Leap Year bug
Dataflex uses Julian dates as standard format, which implies that 29 February 1900 and 29 February 2100 are treated as valid dates. Quod non. Period/comma entryAfter applying these patches, the period and the comma will be accepted as decimal delimiters in numerical and real windows. Both the period and comma will be shown directly as a period (in DF2.3b). The same accounts for date windows: "/", "-" and "." are all valid delimiters (besides the space) and will be shown as a period (Military) or a '/' (USA or European). Force 2 digit years on screen/paper
The standard enhanced Dataflex 2.3b runtime uses 4 digit years (10 characters) in commands like show and write. D7Force8.com forces 2 digit years when displaying or printing dates. {AUTOCLEAR} optionAdd #REPLACE AUTOCLEAR $C02D to FMAC or your source code. And a window with the {AUTOCLEAR} option will be autocleared, even if 'Global Autoclear by Window Type' is not set for the window type.
From the description of the Dataflex 2.3b enhanced runtime:
Reading this words I thought it would be best, if:
Generic period/comma patch for Dataflex 3.01b
DF3PATCH.COM is a version independent patcher for DFRUN.EXE to solve the period/comma-problem. Use: DF3PATCH DFRUN.EXE. I tested it on Dataflex 3.01b, the fast Runtime (FAST30.ZIP), the Write-verify runtime (WVRUN.ZIP) and on DF 3.01c/DF4Btrieve 2.1h. DFCOPY copies locked 2.3b filesDFCOPY.COM copies Dataflex 2.3b files. Use DFCOPY from within a Dataflex-program as follows:
OPEN DF_FILE
DFCOPY creates NEW_DIR if it does not exist. If no {path} (drive and/or directory) is specified DFCOPY first searches the DFPATH-directories and then the current directory for the source file.
DFINDEX multi-user (for 2.3b files only!)"The sort utility will not work on a file that is open by another user when the utility attempts to open the file. If another user attempts to open the file while this utility has the file open, access to the file will be denied." Dataflex User's guide p. 539. Wouldn't the following be a better solution: "The sort utility will work on a file that is open by another user when the utility attempts to open the file. If another user attempts to open the file while this utility has the file open, access to the file will not be denied. The sort utility locks the file while sorting, prohibiting updates by other users during the sort." DFLOKNDX.COM does exactly this while reindexing DF2.3b files. Use it from within a program:
/* or at the DOS-prompt:
C:> dflokndx 10 DFDpack: Recovering unused spaceDFDpack.exe is a shareware utility, written bij MUIS Software, that recovers unused space in DF 2.3b files by moving all records to unused records at the start of the file and then truncating the file. DisclaimerUsing these patches and utilities is at your own risk. Neither Data Access Corp. nor Monitor nor Jan Ehrhardt personally can be held responsible for possible damages caused by the use of these patches and utilities. Nevertheless, I would like to hear from you if you experience problems.
Success, | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Monitor |
|
Phone: ++ 31 20 620 39 30 |