Questions tagged [cleartool]

Cleartool is the command line interface of IBM Rational ClearCase toolsuit for software configuration management.

Cleartool is the primary command-line interface to ClearCase and ClearCase LT version-control and configuration management software. It has a rich set of subcommands that create, modify, and manage the information in VOBs and views.

What questions should have this tag

Question which are related to automation of clearcase using cleartool commands, integrating DOS batch or ANT/Maven/perl scripts which wish to leverage this utility for calling repetitive tasks in clearcase

Important links for learning more

339 questions
1
vote
2 answers

How to delete a view tag with special characters in ClearCase

I have a view, for some reason, it was named with a special character: "0x7f", at least I think so.. For example: MyView123456 -> MyView'0x7f'123456 I can only found this view by ct lsview #list all views. And I found this "0x7f" when dump the…
Josefus.mv
  • 117
  • 8
1
vote
0 answers

How to load config spec from a file using setcs command in rcleartool from cmd

I am trying to create a web view, load the config spec and pull the objects into the view, in my local system using rcleartool. I am getting an error when trying to load the config spec from a file using the setcs command The commands I am using…
Hemanth
  • 31
  • 3
1
vote
1 answer

Unable to get latest of a Web view on local machine

I am trying to take latest using cleartool update command but it throws an error saying "abc" is not a valid snapshot view path, maybe because mine is not a snapshot view but rather a Web view. How can I get latest of Web view? My view is…
TyagiP
  • 51
  • 3
1
vote
1 answer

clearcase symbolic link file not visible from a snapshot view

I have created a symbolic link (see below) to a version controlled file from a different vob (VOB_II) and the file is visible from a dynamic view whereas it’s not visible from the UCM snapshot view. A.txt --> ..\..\..\VOB_II\SampleDir\A.txt I have…
1
vote
1 answer

How do I associate a ClearQuest TASK with a cleartool mkelem command?

I am attempting to check in hundreds of new files in Base ClearCase. Due to network and server issues, I am wanting to write a batch script of cleartool commands to add each file to source control. All files will be checked in under a single…
Casey Kuball
  • 7,717
  • 5
  • 38
  • 70
1
vote
1 answer

Cleartool command performance: lshistory or find -exec

I am looking for query optimization, but IBM is not very chatty about that in the clearcase documentation. So in short, we have quite big vob, and we would like to list all the change made between 2 dates, which query do you thing is the fastest,…
M4hd1Pro
  • 25
  • 3
1
vote
1 answer

Cleartool command: Get symlink path and target

I would like to be able to identify symlink in clearcase. I am generating queries from an oracle database containing the clearcase extended path of element versions. It is working well for actual elements, but for symlink, the query is returning me…
M4hd1Pro
  • 25
  • 3
1
vote
2 answers

type manager error while using clearfsimport

while copying the directories from local to VOB using clearfsimport, starting to get type manager errors as below.Is there any solution to handle this issue. clearfsimport: Error: Unexpected value (2) returned by type manager…
Gopi
  • 619
  • 2
  • 9
  • 27
1
vote
1 answer

Cleartool command to copy the directory and its contents from local file system to VOB

How to Copy the directory and its contents from local file system to VOB (Source control) I know there are commands (mkdir, mkelem) to create directory , elements and copy the files one by one. But I would like to know is there any easy way to do…
Gopi
  • 619
  • 2
  • 9
  • 27
1
vote
1 answer

Cleartool - find checked out files and who checked out

I'm new to clear case. I need to write a script to find out the files checked out in a view. It should be listing with fileName with directory and who checkout it. I created findCheckout.sh cd /vobs/vobElemnt ct lsco -rec -cview I executed ct…
user2094311
1
vote
1 answer

Getting previous activity ids of a file in clearcase commandline

I'm using windows. I need to extract activity ids of check ins in ClearCase. I can get the current one through cleartool describe and then parsing the response for the word 'Activity'. I'm looking to get the activity ids of it's previous…
Ramdas Nair
  • 278
  • 1
  • 3
  • 10
1
vote
2 answers

Setting the path for cleartool

Please guide me how do I run cleartool on my machine. I have searched on the internet, everwhere I am getting the path till bin to set in environment variables. But the issue with my setup is, i cannot see bin folder in clearcase. Path for clearcase…
AIM
  • 101
  • 1
  • 13
1
vote
1 answer

How to set view element baseline from command line or script in UCM ClearCase?

How can I select an element with a specific baseline in a UCM ClearCase snapshot view config spec from a script? I'm writing a script which will create a snapshot view of a given stream and should select a specific baseline version of the stream…
apa64
  • 1,578
  • 1
  • 17
  • 26
1
vote
2 answers

Config spec of the clearcase vi

I would like to know if below my need is possible in clearcase : Say , I have 15 different views (Dynamic or Snapshot) created (from different users/developers), I want get the "config spec" using some kind of cleartool command (Without having to…
srinannapa
  • 3,085
  • 8
  • 49
  • 66
1
vote
1 answer

clearcase: Backup for only modified checked-out elements in all views

Having a regular size-efficient backup for only the modified checkedout elements in all views would be a great thing for us, since a great deal of the defined dynamic/snapshot views cannot be included in the daily backup policy. The following ksh…