Page 1 of 1

how can i validate the dataset of other region

PostPosted: Thu May 17, 2012 8:28 pm
by rdrsaurabh
Hi All,

I need one help.
I am using LISTDSI command for checking the dataset validation in my CLIST program but it is verifying the dataset only in same region where i am currently working. but if i want to check the dataset of all other region where i have access then what should i do.
Is there any command for that or what should i do.

Please let me know of any other details

Re: how can i validate the dataset of other region

PostPosted: Thu May 17, 2012 8:39 pm
by Robert Sample
Is your site sharing the DASD between the various LPARs (I assume when you say "region" you meant LPAR -- terminology is critical in IT, where similar terms may mean very different things, and "region" usually refers to an instance of CICS)? If your site is sharing DASD, then the data sets are the same and you wouldn't need to do anything. If your site is not sharing the DASD, then why not sign onto each and repeat your actions for each?

And why are you not asking your site support group for assistance? They would know a whole lot more about how your site is set up than anyone at this forum could possibly know (unless they work at your site, too).

Re: how can i validate the dataset of other region

PostPosted: Thu May 17, 2012 9:23 pm
by rdrsaurabh
Thanks Robert for your reply

region meant LPAR.

As per my tool it will validate the files from 1 Lpar region and Transmit to any other Lpar region.
but i am not able to validate files of other lpar region for transmitting to any other lpar region.LISTDSI only validate for the current LPAR region.
for that case i need help. is there any command to check or what method i should follow for that

Re: how can i validate the dataset of other region

PostPosted: Thu May 17, 2012 10:32 pm
by NicC
In a word "No" - your rexx runs where your TSO session is (if you are running in foreground). If you run it as a batch job then just send the batch job to execute on the other LPAR(s).

Re: how can i validate the dataset of other region

PostPosted: Thu May 17, 2012 10:57 pm
by dick scherrer
Hello,

checking the dataset validation
What does this mean?

What constitutes "valid"?

What do i not understand? :)

Please clarify.

Re: how can i validate the dataset of other region

PostPosted: Thu May 17, 2012 11:09 pm
by Pedro
I have never done this...

Perhaps each LPAR has an FTP server... use FTP to list the datasets of the remote LPAR. Issue DIR command to determine what datasets are there. You should be able to capture the DIR output to see if the target dataset is there.

But it sounds like you want to send it to a third LPAR??
LPAR1 - executing rexx
LPAR2 - has datasets
LPAR3 - needs datasets

I think you can still do it with FTP. Perhaps use GET to get a copy, QUIT ftp for LPAR2, start FTP on LPAR3, then PUT.

Re: how can i validate the dataset of other region

PostPosted: Fri May 18, 2012 12:45 am
by rdrsaurabh
Pedro , can you please explain little bit more

Re: how can i validate the dataset of other region

PostPosted: Fri May 18, 2012 1:37 am
by dick scherrer
Hello,

For Pedro's sugestion to work, you need to know what ftp services are running on each lpar.

Once you learn and post this, you can try the first step.

You still haven't answered questions asked earlier :(
We don't ask them unless we believe the answers will help with your question. . .

Re: how can i validate the dataset of other region

PostPosted: Fri May 18, 2012 10:40 am
by rdrsaurabh
dataset validation means - is that dataset exist or not, weather it is PS or PDS, attributes of the dataset.

Re: how can i validate the dataset of other region

PostPosted: Fri May 18, 2012 7:16 pm
by dick scherrer
Hello,

OK, thanks for the clarification about "valid".

You still haven't answered the question about what ftp service(s) might be available on the 3 pars. . .

Now i suggest you try Pedro's first step - run an ftp to pull the data from lpar2 to a file on lpar1.