MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Comparing Two PDS.

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> TSO and ISPF
View previous topic :: View next topic  
Author Message
hisabarish
Beginner


Joined: 21 Jun 2005
Posts: 38
Topics: 11

PostPosted: Fri Sep 02, 2005 6:04 am    Post subject: Comparing Two PDS. Reply with quote

I have two PDS like old.pds and new.pds. I want to compare(line by line) to those pds members and the output of line comparison would be loaded into separate pds.(like SUPERC) Can any one let me know the solution please.

I written a jcl for comparing 2 pds ie., like SUPERCE comparison, , the problem is here we will enter the each member name in to that jcl . yeah that is not automated. My teammate told REXX have these provision , I don
_________________
Sabari
Madras
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12376
Topics: 75
Location: San Jose

PostPosted: Fri Sep 02, 2005 6:24 am    Post subject: Reply with quote

hisabarish,

Why not run run 3.13 in batch ?

Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
hisabarish
Beginner


Joined: 21 Jun 2005
Posts: 38
Topics: 11

PostPosted: Fri Sep 02, 2005 7:03 am    Post subject: Reply with quote

Yes Kolusu,

But if u have 230 members in your PDS , you should type the 230 members in that 3.13 in batch. I want to avoid typing the each and every member. In other words,
I will give only 3 pds names, then It read the entire members from pds1 and pds2 , compare it , then the result would be stored in the output PDS.
_________________
Sabari
Madras
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12376
Topics: 75
Location: San Jose

PostPosted: Fri Sep 02, 2005 7:20 am    Post subject: Reply with quote

Quote:

But if u have 230 members in your PDS , you should type the 230 members in that 3.13 in batch. I want to avoid typing the each and every member. In other words,


NO you don't have to type all the member names.

1. Give the PDS names and select the batch option(2) at the bottom and press enter.

On the next screen you will see all the members and Now type S * to all members and press ENTER at the command prompt or tab over to the left side of the member and type s to select the desired members.


Code:

//SUPERC  EXEC PGM=ISRSUPC,                                           *
//            PARM=(DELTAL,LINECMP,
//            '',                 
//            '') 
//NEWDD  DD DSN=your pds1,       
//          DISP=SHR                   
//OLDDD  DD DSN=your pds2,   
//          DISP=SHR                   
//OUTDD  DD DSN=YOUR PDS3(RESULT),
//          DISP=SHR                   
//SYSIN  DD *                           
  ispf generates these statements..
/*   




Hope this helps...

Cheers

Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
hisabarish
Beginner


Joined: 21 Jun 2005
Posts: 38
Topics: 11

PostPosted: Fri Sep 02, 2005 10:17 am    Post subject: Reply with quote

Thankx for your reply,

Pls. kolusu give me any other logic, because client need for that JCL for reference.

When I tried your 3.13 thru batch run I got this following error. Pls. rectify my problem.

11.08.09 JOB04081 $HASP165 R0001Z (JOB04081 FROM SMASYS1 ) ENDED AT SMWSYS1
MAXCC=25 CN(INTERNAL)

11.08.14 JOB04081 $HASP546 R0001Z SYSTEM OUTPUT RECEIVED AT SMASYS1 CN(INTERNAL)
_________________
Sabari
Madras
Back to top
View user's profile Send private message
Phantom
Data Mgmt Moderator
Data Mgmt Moderator


Joined: 07 Jan 2003
Posts: 1056
Topics: 91
Location: The Blue Planet

PostPosted: Fri Sep 02, 2005 10:32 am    Post subject: Reply with quote

Sabari,

You need to post your SYSOUT message for us to determine the problem. Also, please post the complete JCL you used.

Thanks,
Phantom
Back to top
View user's profile Send private message
hisabarish
Beginner


Joined: 21 Jun 2005
Posts: 38
Topics: 11

PostPosted: Sun Sep 04, 2005 3:24 am    Post subject: Reply with quote

My requirement is

I will give only 2 PDS names
_________________
Sabari
Madras
Back to top
View user's profile Send private message
semigeezer
Supermod


Joined: 03 Jan 2003
Posts: 1014
Topics: 13
Location: Atlantis

PostPosted: Mon Sep 05, 2005 12:51 am    Post subject: Reply with quote

Check this link http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/ISPZU220/APPENDIX1.1.41

Also, you can't do DISP=MOD to a PDS member.
Back to top
View user's profile Send private message Visit poster's website
hisabarish
Beginner


Joined: 21 Jun 2005
Posts: 38
Topics: 11

PostPosted: Mon Sep 05, 2005 1:20 am    Post subject: Reply with quote

Hi semigeezer,

Thnx for your answer. But disp=mod is not a problem,the above program is working fine.. My problem is , avoid typing the DS= C910001,DS=DPATEST1 like that....

So pls. rever me..
_________________
Sabari
Madras
Back to top
View user's profile Send private message
semigeezer
Supermod


Joined: 03 Jan 2003
Posts: 1014
Topics: 13
Location: Atlantis

PostPosted: Mon Sep 05, 2005 1:40 am    Post subject: Reply with quote

A rexx exec using the ISPF skeletons can generate JCL for you. One way (there are an infinite number of ways to do this, I suppose), is to use LMDLIST and/or LMMLIST to populate an ISPF table of data set names and/or member names, then use skeletons to create the JCL for you. Whatever way you get the dataset or member names, you will need to do some programming. You could also use SORT to post process some TSO command output (LISTCAT, LISTDS) but use whatever is comfortable to you.
Back to top
View user's profile Send private message Visit poster's website
hisabarish
Beginner


Joined: 21 Jun 2005
Posts: 38
Topics: 11

PostPosted: Mon Sep 05, 2005 5:17 am    Post subject: Reply with quote

Hello boss,

Thnx for your great answer... Can you give it me with an example or guide me which the link i can refer it.. please.

Once again thankx for your answer.

Sabari
_________________
Sabari
Madras
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12376
Topics: 75
Location: San Jose

PostPosted: Mon Sep 05, 2005 10:35 am    Post subject: Reply with quote

hisabarish,

check this link

http://www.mvsforums.com/helpboards/viewtopic.php?t=1766

Hope this helps..

Cheers

Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
hisabarish
Beginner


Joined: 21 Jun 2005
Posts: 38
Topics: 11

PostPosted: Thu Sep 08, 2005 6:34 am    Post subject: Reply with quote

Thankx for all ur support essp. Mr. Kolusu..

I did the task i post my results when my testing would be completed.

Once again thankx for all ur support.
_________________
Sabari
Madras
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> TSO and ISPF All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group