x@TAeVBÑVCVD6VJµTK3TLmTMÓ TN T ____________________________________________________________________ _____ D B 2 C K L O G _____ DB2 Check Log File tool I B M The db2cklog tool is a utility can be used to test the integrity of an archive log file and to determine whether or not the log file can be used in the rollforward database command. ____________________________________________________________________ ________________________________________________________________________________ ======================================================== "db2cklog": Processing log file header of "%1S". "db2cklog": Processing log pages of "%1S" (total log pages: "%2S"). ==> page "%1S" ... "db2cklog": Finished processing log file "%1S". Return code: "%2S". ======================================================== db2cklog (DB2 Check Log File tool) ------------------------------------------------------------------------------ Syntax: DB2CKLOG [ CHECK ] [ TO ] [ ARCHLOGPATH ] [ KSPASSWORD | KSPASSARG fd: | KSPASSARG filename: | KSPROMPT ] Command parameters: CHECK - Verifies the integrity of the log file. This is default option. - Specifies the number of the log file that should be verified. If the log-file-number2 is specified, the log-file-number1 represents the start of the log file range to check. E.g. 2 is for S0000002.LOG file. TO - Specifies a range of log file numbers for which the log files should be verified. If the log-file-number2 is less than the log-file-number1, only the log-file-number1 will be verified. ARCHLOGPATH - Specifies the path where the archive log files reside. The default is the current directory. The following options are used to specify the keystore password to open the keystore specified by DBM CFG parameter KEYSTORE_LOCATION. This is only required when validating encrypted log files and when the keystore password is not stashed. KSPASSWORD - Specifies the keystore password. KSPASSARG fd: - Specifies the file descriptor to a file that contains the keystore password. KSPASSARG filename: - Specifies the file path that contains the keystore password. KSPROMPT - User will be prompted for the password.