Job Management Partner 1/Base User's Guide
Function
The Jislckclear command checks and clears the locked status of any files or records that were locked by a process that has disappeared because of circumstances such as the user forcibly ending a process of the JP1 product that accesses ISAM files.
Format
Jislckclear {-c | -d}
Required execution permission
Administrators. (If User Account Control (UAC) for Windows is enabled, you must execute the command from the administrator console.)
Command directory
- installation-folder\bin\
Arguments
-c
This argument enables you to check whether there are any remaining files or records locked by a deleted process. If any lock information remains about a file or record used by the deleted process, message KAIU315-I is output to the standard error output.
-d
This argument enables you to release files or records locked by a deleted process.
Notes
- JP1 product processes currently accessing an ISAM file might be paused while this command is being executed.
- Between the time you check the lock information with the -c option and then clear the locks with the -d option, a file or record might be unlocked by another process that accesses ISAM files. For this reason, the number of locks displayed by the -c option might not match the number of released locks displayed by the -d option.
Return values
0 Normal end 1 Normal end (locks displayed or cleared) 2 Normal end (processing suspended because there is no lock information) 3 Abnormal end (no execution permission) 4 Abnormal end (invalid argument) 5 Abnormal end (system call error) 99 Abnormal end (program logic error)
All Rights Reserved. Copyright (C) 2009, Hitachi, Ltd.