HPE Community read-only access December 15, 2018
This is a maintenance upgrade. You will be able to read articles and posts, but not post or reply.
Hours:
Dec 15, 4:00 am to 10:00 am UTC
Dec 14, 10:00 pm CST to Dec 15, 4:00 am CST
Dec 14, 8:00 pm PST to Dec 15, 2:00 am PST
cancel
Showing results for 
Search instead for 
Did you mean: 

Using Remsh and Cleartool

 
SOLVED
Go to solution
Syed Madar J S
Frequent Advisor

Using Remsh and Cleartool

I need to execute a script that is on machine-B from machine-A.
And the script in Machine-B can be accessed only through a clear case view.

The command i used to check the execution was,

laksh# remsh hpmdd78 -n "/usr/atria/bin/cleartool setview jss_0909;/usr/atria/bin/cleartool pwv;uname -a"
Working directory view: ** NONE **
Set view: ** NONE **
HP-UX hpmdd78 B.11.11 U 9000/800 1338625371 unlimited-user license


Ideally, i must be expecting an output,
Working directory view: ** NONE **
Set view: jss_0909
HP-UX hpmdd78 B.11.11 U 9000/800 1338625371 unlimited-user license


Is there something i am doing wrong ?
Please help.
2 REPLIES
Solution

Re: Using Remsh and Cleartool

Here's what I do to go to the same view I'm in, with -exec:
remsh hpmdd78 -n "$CT setview -exec \"$CT pwv; uname -a \" $($CT pwv -s) "
Syed Madar J S
Frequent Advisor

Re: Using Remsh and Cleartool

Thanks Dennis, works perfect.