BBjRecoverFileStatus::getRecordsFound

Description

In BBj 18.0 and higher, this method returns the file recovery number of records found in the original file.

Syntax

Return Value

Method

long

getRecordsFound()

Parameters

None.

Return Value

The number of records that recovery found in the original file and wrote to the recovered file.

Remarks

This will normally be the same as the recovered record count, but it is possible that the original file is corrupt enough that recovery found records with overlapping keys. In that case, the recovered record count will be smaller.

Example

rem ' Recover a file

status! = BBjAPI().getFileSystem().recoverFile("recoverFile.dat")
print "Recovery records found:",status!.getRecordsFound()

See Also

BBjAPI

BBjFileSystem

BBjRecoverFileStatus

See the BBj Object Diagram for an illustration of the relationship between BBj Objects.