You request output of the rest of the content of an opened database file.
To do this, you use the file handle output when you opened the database file (see file_getfirst).
· You have opened a database file. The keyword CONTINUE in the reply shows that the content has not yet been completely transferred.
· You have the server authorization DBFileRead.
· You have determined the file ID of the file (see file_getlist).
file_getnext <file_ID> <file_handle>
OK
<file_handle>
CONTINUE|END
<file_length><data_length>
<data_line>
<data_line>
...
Values for the Reply Fields
Value |
Description |
<file_handle> |
Numeric value that can be used for subsequent access to this file. |
END |
The content of the file has been transferred completely. The file is closed automatically. |
CONTINUE |
The file contains further entries that were not transferred due to the limited storage available for replies. You can display this data by entering the DBM command again or close the file. |
<file_length> |
File length The total length of the file is not determined again and is, therefore, set to 0. |
<data_length> |
Length of the displayed data block, length of this information: max. 20 characters |
<data_line> |
Data line |
In the event of errors, see Reply Format.