The %filecheck() function can be run from the TCL to call the system fsck (file system check) command.
For Linux and AIX: Not Supported
file.descriptor = %filecheck(arg, error_count)
file.descriptor | Specifies the return value of a previous call to the %open() function. |
arg | Specifies whether or not errors should be corrected.
|
error_count | Specifies the output parameter. The error_count variable takes the address of a variable to place the number of errors encountered during the file check. |
fsidm,bp, FsiResize ... include dm,bp,includes nt_defs.inc ... * * Do file check * ------------- ErrCnt = 0 ;* [1.7] RetCode = %FileCheck( FileDesc, FileChkOpt+0, &ErrCnt ) ;* [1.7] if RetCode # 0 then ;* [1.7] ...