BBjRecoverFileStatus::getRecoveredRecordCount

Description

In BBj 18.0 and higher, this method returns the file recovery recovered record count.

Syntax

Return Value

Method

long

getRecoveredRecordCount()

Parameters

None.

Return Value

The number of records that the recovered file contains.

Remarks

This may be different from both the number of records that the original file claimed to contain and the number of records that recovery located depending on how corrupt the file actually was at the time.

Example

rem ' Recover a file

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

See Also

BBjAPI

BBjFileSystem

BBjRecoverFileStatus

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