Name

ap_set_status — read or update status flags of an annotation phrase set

Synopsis

integer ap_set_status( in set_id integer,
  in new_status integer,
  in allow_overwrite integer);
 

Description

ap_set_status reads or updates the status flags of phrase set set_id, the set-level counterpart of ap_class_status. Pass -1 for new_status to read the current value; otherwise the new value is applied subject to allow_overwrite. Requires DBA privileges.

Parameters

set_id

Numeric identifier of the phrase set.

new_status

Optional new status value, or -1 to read the current status.

allow_overwrite

Optional flag controlling whether an existing status may be replaced.

Return Types

An integer status value.


© 1992 - OpenLink Software. All rights reserved.

Making Technology Work for You®