加入收藏 | 设为首页 | Life家族 | SCMLife | RMLife | PMLife | SQALife | TESTLife | 企业VIP专区 | 中文化荣誉殿堂
 
发新话题
打印

[TechNote] How to export and import ClearQuest schemas( 此文章被查看:2272次,被回复:5篇!! )

How to export and import ClearQuest schemas

Problem
This technote explains how to export and import IBM® Rational® ClearQuest® database schemas.
Solution
ClearQuest (CQ) has a command line utility,cqload, that allows an entire schema to be exported from one schema repository (MASTR) database and imported into another.

To use cqload, it is necessary to use the DOS command prompt. In addition, the schema to be exported, must not be checked out. If cqload is run while the CQ Designer is open, it will need to be closed, then restarted in order to show the changes made by cqload.

The exportschema subcommand is used to export an entire schema to a text file. This schema text file can then be imported into another schema repository using the importschema command. The syntax and examples of both commands are shown below.

cqload exportschema -dbset <connection name> <cq-login> <cq-password> <schema name> "<script full path name>"

ParameterDescription
<connection name>Existing connection associated with the schema repository database as viewed in the CQ Maintenance Tool. 2003.06.00 (shown in above example) is the default set up automatically in the 2003 release of the CQ Maintenance Tool.
<cq-login>CQ administrative login name
<cq-password>CQ administrative password (enter "" if the value is blank)
<schema name>Name of the schema exactly as it appears in CQ Designer. This is case sensitive.
<script full path name>This must be surrounded by double quotes. A UNC path format can also be used.

Example:

cqload exportschema -dbset 2003.06.00 admin "" DefectTracking "c:\temp\schema.txt"

This command will export the contents of the DefectTracking schema to the file c:\temp\schema.txt.

The importschema subcommand is used to import an entire schema from a textual representation, and add it to the schema repository. It can be useful for sharing entire schemas with sites that cannot access the main schema repository, or have a different schema repository.

cqload importschema -dbset <connection name> <cq-login> <cq-password> "<script full path name>"

Example:

cqload importschema -dbset 2003.06.00 admin "" "c:\temp\schema.txt"


Note: The file C:\temp\schema.txt was created using the cqload exportschema command. During that process, the name of the exported schema was saved into this file. So when this schema is imported, the schema name will be used to create the schema with cqload importschema. If that name is already in use in destination schema repository, the import will fail.




© 本文为 懂你SCMLife 共同所有,未经同意,请勿转载 ©如该文侵犯了您的版权,请联系管理员
优惠购买Rational,Telelogic,Hansky产品,企业VIP服务、实施
VIP服务电话:13581809377

TOP

回复 #1 懂你 的帖子

楼主,如果是完全导入新的schema ,是不是整个 activity 的状态变化流程和action 都是已经完全定制好了,导入之后就能完全用?



© 本文为 wywishSCMLife 共同所有,未经同意,请勿转载 ©如该文侵犯了您的版权,请联系管理员

TOP

嗯!用户关联好即可!



© 本文为 听雨屋檐人SCMLife 共同所有,未经同意,请勿转载 ©如该文侵犯了您的版权,请联系管理员

TOP

听雨 ,cq 里面的manager 组和 developer 以及测试组等等,都和域之间是不是完全没有关系,就只要在cq design 上面创建这样的组,然后相应的人员加入对应的组,就已经对应了不同的cq 的权限?

© 本文为 wywish 所有,未经同意,请勿转载
©如该文侵犯了您的版权,请联系管理员

TOP

对的!cq里面的组都是你自己设计的!和windows域用户组没有关系

© 本文为 听雨屋檐人 所有,未经同意,请勿转载
©如该文侵犯了您的版权,请联系管理员

TOP

引用:
原帖由 wywish 于 2006-10-11 09:57 发表
听雨 ,cq 里面的manager 组和 developer 以及测试组等等,都和域之间是不是完全没有关系,就只要在cq design 上面创建这样的组,然后相应的人员加入对应的组,就已经对应了不同的cq 的权限?
实际是数据库来管理的用户,并不是系统用户

© 本文为 yunyun123 所有,未经同意,请勿转载
©如该文侵犯了您的版权,请联系管理员

TOP

发新话题