Operating System - HP-UX
1753905 Members
9802 Online
108810 Solutions
New Discussion юеВ

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 2
Dennis Handly
Acclaimed Contributor
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.