


Some commands within the ADABAS tools have a filename as an argument. This filename always refers to a file of the DOS file system.
Examples:
put customer.dat
get data\customer.dat
run d: \trans\customer.lod
Examples of Filenames in a DOS File System:
1. customer.frm
2. forms\customer.frm
3. d:\forms\customer.frm
4. %DBROOT%\test\customer.frm
The filename is specified either as a simple filename (example 1), or as a relative path name; i.e., starting with one or more directory names that are separated from each other and from the simple filename by a '\' (example 2), or as an absolute path name starting with the root directory '\' or a drive letter (example 3).
For simple filenames, the current working directory will be scanned. For relative path names, the specified directories will be searched, starting with the current working directory.
Each simple file name or directory name may have up to 8 or 12 characters (with dot and three characters as extension to the filename).
Note:
The complete DOS filename used as an argument in an ADABAS tool must not be longer than 64 characters.
Environment variables can be used within filenames (example 4). When doing so, the actual filename can obtain a length of up to 254 characters.
Successful file accesses require that the user has the necessary privileges for reading and writing files or directories.
Files with variable record lengths to be read by the end user tools must contain end-of-line characters. Files with fixed record lengths must contain the corresponding length as a 4 byte integer in the first record of the file.


