I am coding a korn shell script to automate certain things. Creating a baseline is one of them where I got stuck.
I google'd and found the available options of using
command.
Inside my script this is what I am doing:
It gives
When I was using lsbl in my script, i used to pass
.
But for this mkbl command, the -stream is not allowed. So, how will I make it know that I want the Baseline to be created for a particular stream?
Note: I will not be creating any views in my script because I do not need it. All I wanted to do is just
1. get the last baseline, #works
2. Increament it by 1 #works
3. Created a new baseline #does not work
Hi,
I have two unix server. In one server clearcase is installed. I want to take files from one server to clearcase server. Could anyone help to start up this, for how to connect clearcase server from my main server. ??
Currently am having IP address of that clearcase server.
Thanks in... (0 Replies)
I am running all clearcase commands in shell script and every command is redirecting output to file data.txt
cleartool diffbl -act -ver label1 label2 >& data.txt
cleartool diffbl -baselines label1 label2 >& data.txt
cleartool diffbl -elements label1 label2 >& data.txt
Issues was all commands... (6 Replies)
Hi,
Can you please help?
I am trying to use variables within a clearcase command, however i am having a major problems - the variables don't appear to be accessible. Using the following as an example:
cat=1 2 3
dog=4 5 6
cleartool mkattr -replace Four_Legs '"$cat $dog"' lbtype:Animal
... (3 Replies)
Hi,
I wonder can you help me ... I have the following clearcase code that works on the command line:
ct mkattr -replace Four_Legs '"cat dog"' lbtype:Animal
however when i try to use it in my script it fails with the following error message:
+ ct mkattr -replace Four_Legs "cat dog"... (5 Replies)
Hi,
How can I connect to clearcase view through Unix.
I have this view r232_view in Clearcase.
I tried this from my home directory
>cleartool setview r232_view
>cleartool: Error: View tag not found: "r232_view".
Am I missing something?
Thanks, (5 Replies)
Hi Friends,
How do i set into a view and continue with make via a script. I could do both separately but when i try both in a single script, it stops after setting into the view.
below is the sample "ap_script", first two execute, but the third one command doesn't.
echo $USER
cleartool... (2 Replies)
Hello. I have a task to complete and it involves using RPM with ClearCase. I have looked through as much documentation as possible about RPM and I still have questions about it. My task is to create a .rpm using ClearCase by unzipping a 22 Mb file and placing it into a set directory structure. I... (2 Replies)
Hi,
prefix: cleartool is an clearcase command. clearcase is a control version tool
I have setup a passwordless ssh connection between Unix machines A and B. I am executing a ssh command from Unix box 'A' to Unix box 'B' as follows.
ssh username@B 'ls /home/username'
This works perfectly... (2 Replies)