Home > Contents > Index >
CATALOGMANAGER.unlockrecord
Unlocks a locked row using the
CATALOGMANAGER
command.Syntax
<CATALOGMANAGER> <ARGUMENT NAME="ftcmd" VALUE="unlockrecord" /> <ARGUMENT NAME="tablename" VALUE="table" /> <ARGUMENT NAME="asset" VALUE="primarykey"/> </CATALOGMANAGER>Parameters
ftcmd (required)
- Value must be set to
unlockrecord
.
tablename (required)
- Name of the tracked table.
asset
(required)- Value of the primary key for the row to unlock.
Description
The
unlockrecord
command unlocks a locked row. Only the user who has the row locked or a user who hasrtadmin
privileges against the table can unlock the row.UNLOCKRECORD
does not restore the row to its most recent revision.Error Numbers
The possible values of
errno
include:
Value Description -103 No such table. -104 No table definition. -105 Database error.Example
This example unlocks the row in
movies
whose primary key value is95137
.<SETVAR NAME="errno" VALUE="0"/> <CATALOGMANAGER> <ARGUMENT NAME="ftcmd" VALUE="unlockrecord"/> <ARGUMENT NAME="tablename" VALUE="movies"/> <ARGUMENT NAME="asset" VALUE="95137"/> </CATALOGMANAGER> <IF COND="IsError.Variables.errno=true"> <THEN> <!--Handle error--> </THEN> </IF>See Also
Home > Contents > Index > ![]()
Oracle XML Tag Reference
Copyright (c) 2013, 2018, Oracle and/or its affiliates. All rights reserved.