You can set the hard query limit as a master property of a ClearQuest® database set, or by setting a behavior flag in the local environment where the ClearQuest core resides. Locally defined hard and soft query limits override the master property values set in the database set.
Use the installutil setmasterproperty subcommand to set the hard limit as a master property of a database set.
installutil setmasterproperty dbset_name cq_login_id cq_password HARD_QUERY_LIMIT new_value
installutil setmasterproperty -dbset mydbset admin secret HARD_QUERY_LIMIT 150000
installutil setmasterproperty -dbset mydbset admin secret HARD_QUERY_LIMIT SAMPL=150000;TEST=20000
To set the query limit behavior flags in the local environment where the ClearQuest core resides, either modify the Windows Registry key HKEY_CURRENT_USER\Software\Rational Software\ClearQuest\Diagnostic, or set the environment variable CQ_DIAG_BEHAVIOR.
Examples
Use regedit to modify the Registry key HKEY_CURRENT_USER\Software\Rational Software\ClearQuest\Diagnostic:
HKEY_CURRENT_USER\Software\Rational Software\ClearQuest\Diagnostic
"Name"=""
"behavior"="SOFT_QUERY_LIMIT=5000;HARD_QUERY_LIMIT=20000"
CQ_DIAG_BEHAVIOR="SOFT_QUERY_LIMIT=5000;HARD_QUERY_LIMIT=20000"