Thank you both of you. Now let me describe my problem again. I am not a very high level programmer but I am trying to finish my program which is working fine but I have this problem.
Now forget about IF1 and just take 2 LPARS. There is IF1(Source) also but for now just take IF2 (Source) and IG3 (Target). I am writing a program on IF2 and program does everything like I check data areas and other stuff. during this time I have to do an install and now I have stopped all data groups. After install I have to clear and restore libraries on IG3 which is a backup LPAR. Since my program is on IF2 and I want to clear and restore libraries on IG3 so I can restore them from the very latest backup on IF2. Now this is purely for resync (MIMIX) purpose. How can I clear and restore libraries on IG3 when my program is on IF2. When I take option 11 for example which suppose to start Clear on IG3 I have to signon to IG3. So now I say TELNET and SIGN ON screen comes and I have to sign on to IG3 but I do not have a connection with my program.
11. Clear libraries on backup (IG3)
Now behind option 11 is simply this
and after telnet I want to say CLRLIB LIB(ABCDE)
But TELNET takes me away from IF2 and into IG3. My CLRLIB command after TELNET has no meanings.