BBjRecoverFileStatus::getOriginalRecordCount

Description

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

Syntax

Return Value

Method

long

getOriginalRecordCount()

Parameters

None.

Return Value

The number of records that the original file claimed that it contained.

Remarks

If the file was corrupt, then there is no reason to think that the return value is accurate. Other methods indicate how many records that recovery actually found in the original file and how many records ended up in the recovered file.

Example

rem ' Recover a file

status! = BBjAPI().getFileSystem().recoverFile("recoverFile.dat")
print "Recovery original record count:",status!.getOriginalRecordCount()

See Also

BBjAPI

BBjFileSystem

BBjRecoverFileStatus

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