how can i validate the dataset of other region



IBM's Command List programming language & Restructured Extended Executor

how can i validate the dataset of other region

Postby rdrsaurabh » Thu May 17, 2012 8:28 pm

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
rdrsaurabh
 
Posts: 6
Joined: Wed Oct 19, 2011 9:03 pm
Has thanked: 0 time
Been thanked: 0 time

Re: how can i validate the dataset of other region

Postby Robert Sample » Thu May 17, 2012 8:39 pm

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).
Robert Sample
Global moderator
 
Posts: 3719
Joined: Sat Dec 19, 2009 8:32 pm
Location: Dubuque, Iowa, USA
Has thanked: 1 time
Been thanked: 279 times

Re: how can i validate the dataset of other region

Postby rdrsaurabh » Thu May 17, 2012 9:23 pm

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
rdrsaurabh
 
Posts: 6
Joined: Wed Oct 19, 2011 9:03 pm
Has thanked: 0 time
Been thanked: 0 time

Re: how can i validate the dataset of other region

Postby NicC » Thu May 17, 2012 10:32 pm

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).
The problem I have is that people can explain things quickly but I can only comprehend slowly.
Regards
Nic
NicC
Global moderator
 
Posts: 3025
Joined: Sun Jul 04, 2010 12:13 am
Location: Pushing up the daisies (almost)
Has thanked: 4 times
Been thanked: 136 times

Re: how can i validate the dataset of other region

Postby dick scherrer » Thu May 17, 2012 10:57 pm

Hello,

checking the dataset validation
What does this mean?

What constitutes "valid"?

What do i not understand? :)

Please clarify.
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6268
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 93 times

Re: how can i validate the dataset of other region

Postby Pedro » Thu May 17, 2012 11:09 pm

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.
Pedro Vera
User avatar
Pedro
 
Posts: 684
Joined: Thu Jul 31, 2008 9:59 pm
Location: Silicon Valley
Has thanked: 0 time
Been thanked: 53 times

Re: how can i validate the dataset of other region

Postby rdrsaurabh » Fri May 18, 2012 12:45 am

Pedro , can you please explain little bit more
rdrsaurabh
 
Posts: 6
Joined: Wed Oct 19, 2011 9:03 pm
Has thanked: 0 time
Been thanked: 0 time

Re: how can i validate the dataset of other region

Postby dick scherrer » Fri May 18, 2012 1:37 am

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. . .
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6268
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 93 times

Re: how can i validate the dataset of other region

Postby rdrsaurabh » Fri May 18, 2012 10:40 am

dataset validation means - is that dataset exist or not, weather it is PS or PDS, attributes of the dataset.
rdrsaurabh
 
Posts: 6
Joined: Wed Oct 19, 2011 9:03 pm
Has thanked: 0 time
Been thanked: 0 time

Re: how can i validate the dataset of other region

Postby dick scherrer » Fri May 18, 2012 7:16 pm

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.
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6268
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 93 times


Return to CLIST & REXX

 


  • Related topics
    Replies
    Views
    Last post