Remove unauthorized file locks
Component: | BS2000 |
Functional area: | File processingg |
Domain: | FILE |
Privileges: | STD-PROCESSING |
Function
The owner of a file or the systems support staff (user ID TSOS) can remove an “unauthorized” file lock using the REPAIR-FILE-LOCKS command. This refers to file locks that are no longer required but that are not released automatically by the system for one of the following reasons:
short connection failure in a network
system error stopped the file lock from being removed
You can obtain information on the file locks currently in effect with the help of the SHOW-FILE-LOCKS command.
File access via RFA connections is not supported.
Format
REPAIR-FILE-LOCKS |
FILE-NAME = <filename 1..54> |
Operands
FILE-NAME = <filename 1..54>
Name of the file for which an unauthorized file lock is to be released. If the ACS software product is being used, the file name will be replaced according to the alias catalog.
Return code
(SC2) | SC1 | Maincode | Meaning |
---|---|---|---|
0 | CMD0001 | No error | |
1 | 0 | DMS13EE | File not locked |
1 | CMD0221 | Syntax error in command | |
32 | DMS13EA | Internal system error | |
64 | CMD2203 | Error in syntax file | |
64 | DMS0301 | Catalog not available | |
64 | DMS13EB | RFA connections not supported | |
64 | DMS13E1 | File access not allowed | |
64 | DMS13E2 | No access authorization for pubset | |
64 | DMS13E3 | User ID does not exist | |
128 | DMS13E0 | Resource bottleneck |