To get the information from the other LPAR in the same systm



IBM's Command List programming language & Restructured Extended Executor

To get the information from the other LPAR in the same systm

Postby balamurali cl » Tue Oct 16, 2012 8:53 pm

Hi,

I have used HLIST to get the information of datasets in the one LPAR(say A) by a rexx code. But now I want to get the information of the datasets in other LPAR (say B) but still I execute the code from LPAR A only in foreground.

However the other LAPR( b) is also active..Can you please help to achieve this?
balamurali cl
 
Posts: 36
Joined: Mon Sep 03, 2012 9:01 pm
Has thanked: 2 times
Been thanked: 0 time

Re: To get the information from the other LPAR in the same systm

 

Re: To get the information from the other LPAR in the same s

Postby Robert Sample » Tue Oct 16, 2012 9:05 pm

You need to talk to your site support group. If the two LPARs are using shared DASD, you may not need to run an HLIST in LPAR B. And only someone working AT YOUR SITE could possibly tell you that answer.
Robert Sample
Global moderator
 
Posts: 3367
Joined: Sat Dec 19, 2009 8:32 pm
Location: East Dubuque, Illinois
Has thanked: 1 time
Been thanked: 222 times

Re: To get the information from the other LPAR in the same s

Postby Pedro » Tue Oct 16, 2012 9:41 pm

I agree with Robert that HLIST is your best option.

----------
but still I execute the code from LPAR A only in foreground.

I do not think you can do what you want. The easiest approach is to submit a batch job to LPAR B and route the output to LPAR A.
Pedro Vera
User avatar
Pedro
 
Posts: 569
Joined: Thu Jul 31, 2008 9:59 pm
Location: Silicon Valley
Has thanked: 0 time
Been thanked: 39 times

Re: To get the information from the other LPAR in the same s

Postby balamurali cl » Tue Oct 16, 2012 9:45 pm

Thank you...will work on this
balamurali cl
 
Posts: 36
Joined: Mon Sep 03, 2012 9:01 pm
Has thanked: 2 times
Been thanked: 0 time

Re: To get the information from the other LPAR in the same s

Postby steve-myers » Wed Oct 17, 2012 12:28 am

If LPAR A and LPAR B are intended to be roughly equal as Mr. Sample and Pedro suggest, most, if not all, the DASD is shared between the two LPARs. If LPAR A and LPAR B are intended to be isolated from each other, as is sometimes the case, then little if any, DASD is shared and Mr. Sample's and Pedro's idea won't work, and it may be difficult to submit a job on A to run on B. Since we do not know your configuration, we cannot make a reliable analysis and any solution we propose will be faulty.
steve-myers
Global moderator
 
Posts: 1885
Joined: Thu Jun 03, 2010 6:21 pm
Has thanked: 4 times
Been thanked: 197 times

Re: To get the information from the other LPAR in the same s

Postby expat » Wed Oct 17, 2012 10:31 am

Also worth finding out is if both LPARS are covered by the same HSMplex, in which case the results would be the same
expat
 
Posts: 382
Joined: Sat Jun 09, 2007 3:21 pm
Has thanked: 0 time
Been thanked: 1 time

Re: To get the information from the other LPAR in the same s

Postby Pedro » Thu Oct 18, 2012 4:58 am

Separate and isolated are two different things.

It is easiest is if there are JES2 network in place so that can use a "/*ROUTE XEQ mynode" card in your JCL.
Also, "/*ROUTE PRINT mynode.myuser". You use the SUBMIT command from your system and JES2 will send it the system specified.

If there is less access, assuming TCP/IP access, you can get use FTP to submit jobs and also to get the job output.
Pedro Vera

These users thanked the author Pedro for the post:
balamurali cl (Fri Jan 04, 2013 9:50 pm)
User avatar
Pedro
 
Posts: 569
Joined: Thu Jul 31, 2008 9:59 pm
Location: Silicon Valley
Has thanked: 0 time
Been thanked: 39 times


Return to CLIST & REXX

 


  • Related topics
    Replies
    Views
    Last post