Description
Returns
whether or not user database updates are allowed. Prior to version
7.0, Rational® ClearQuest® prevented write updates to
the database unless the local character set (also known as the client
code page) was compatible with the
Rational ClearQuest data
code page. Beginning in version 7.0, updates to the database are allowed
even if the local character set is incompatible (
Rational ClearQuest only
allows compatible characters to be stored in the database, and returns
an exception if characters that are not in the data code page are
attempted to be stored in the database).
- For version 7.0, the method always returns True. Updates to the
database are always allowed. ClearQuest will
return an error if characters are not in the Rational ClearQuest data
code page.
- For version 2003.06.xx, the method returns True if the
local character set is compatible with the Rational ClearQuest data
code page. Updates to the database are allowed when the method returns
True. If this method returns False, then the local character set is
not compatible with the Rational ClearQuest data
code page, and only read-only access to the database is allowed.
Note: This method became available in version 2003.06.00.
See
Return string mode for
more information.
Syntax
VBScript
session.IsClientCodePageCompatibleWithCQDataCodePage
Perl
$session->IsClientCodePageCompatibleWithCQDataCodePage();
- Identifier
- Description
- session
- The Session object that represents the current
database-access session.
- Return value
- Returns True if the client code page is compatible
with the Rational ClearQuest data
code page, False otherwise.
Examples
VBScript
isComp = session.IsClientCodePageCompatibleWithCQDataCodePage
Perl
$isComp = $session->IsClientCodePageCompatibleWithCQDataCodePage();