(Contents)(Previous)(Next)

Using Files

Some commands within the ADABAS tools have a filename as an argument. This filename always refers to a file in one of the Windows NT file systems (FAT or NTFS, see Windows NT documentation).

Examples:

put customer.dat

get data\customer.dat

export customer d:\prog\customer.app

The filename must comply with the conventions of the used file system (FAT or NTFS).

Examples of filenames in a FAT file system:

1. customer.frm

2. forms\customer.frm

3. d:\forms\customer.frm

4. %DBROOT%\test\customer.frm

Examples of filenames in a Windows NT NTFS file system:

1. customer.frm

2. ownforms\customer.frm

3. e:\ownforms\customer.frm

4. '%DBROOT%\my testdata\customer.frm'

The Windows NT 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 filename or directory name may have up to 8 or 12 characters (including a dot and three extension characters) in a FAT file system, a maximum of 255 characters in an NTFS file system. HPSF file or path names that contain blanks must be enclosed in single quotation marks (example 4).

Note:

The complete Windows NT filename which is used as an argument in an ADABAS tool must not exceed 64 characters.

Environment variables can be used within filenames (example 4). In this way, the actual filename can have a maximum of 255 characters.


(Contents)(Previous)(Next)