Background documentationfile_getnext Locate this document in the navigation structure

 

Use this this command to display the further content of an opened database file.

Prerequisites

  • You have opened a database file. The keyword CONTINUE in the answer indicates that the file content has not yet been transferred completely.

  • You have determined the file ID of the file (see file_getlist).

Structure

file_getnext <file_ID>

Options

Option

Description

<file_ID>

File ID

Result

OK

<file_handle>

CONTINUE|END

<file_length><data_length>

<data_line>

<data_line>

...

Value

Description

<file_handle>

Obsolete

Numeric value used in database versions prior to 7.7 to access the 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 size of the reply package. You can display this data by entering the DBM command again, or close the file.

<file_length>

File length

After having transferred the first reply package, the total length of the file is not determined again and is therefore set to 0 when further content of the same file is output.

<data_length>

Length of the displayed data block, length of this information: 20 characters maximum max. 20 characters

<data_line>

Data line

In the event of errors, see Reply Format.

More Information

Glossary, Database File