Page 1 of 1

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

PostPosted: Tue Oct 16, 2012 8:53 pm
by balamurali cl
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?

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

PostPosted: Tue Oct 16, 2012 9:05 pm
by Robert Sample
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.

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

PostPosted: Tue Oct 16, 2012 9:41 pm
by Pedro
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.

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

PostPosted: Tue Oct 16, 2012 9:45 pm
by balamurali cl
Thank you...will work on this

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

PostPosted: Wed Oct 17, 2012 12:28 am
by steve-myers
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.

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

PostPosted: Wed Oct 17, 2012 10:31 am
by expat
Also worth finding out is if both LPARS are covered by the same HSMplex, in which case the results would be the same

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

PostPosted: Thu Oct 18, 2012 4:58 am
by Pedro
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.