Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
REXX code for comparison of two different PDS

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CLIST & REXX
View previous topic :: :: View next topic  
Author Message
Mani453

New User


Joined: 19 Nov 2015
Posts: 12
Location: INDIA

PostPosted: Fri Nov 20, 2015 5:21 am    Post subject: REXX code for comparison of two different PDS
Reply with quote

Hi

I am writing a rexx code for comparison of two different pds. Can anyone suggest on this.

Req : Two different pds will have many ps members. I need to cross check of all ps members(inside data also).
Back to top
View user's profile Send private message

Rohit Umarjikar

Senior Member


Joined: 21 Sep 2010
Posts: 1818
Location: NY,USA

PostPosted: Fri Nov 20, 2015 5:40 am    Post subject:
Reply with quote

Welcome!!
Why Rexx? 3.13 in a batch or SUPERCE should give you what you want and may use PARM=(DELTAL,LINECMP,'','')
Back to top
View user's profile Send private message
Mani453

New User


Joined: 19 Nov 2015
Posts: 12
Location: INDIA

PostPosted: Fri Nov 20, 2015 6:21 am    Post subject: Reply to: comparison of two pds
Reply with quote

Thanks...

But client requested me make a tool for that.. So I am trying in Rexx or easytrieve.
Back to top
View user's profile Send private message
Rohit Umarjikar

Senior Member


Joined: 21 Sep 2010
Posts: 1818
Location: NY,USA

PostPosted: Fri Nov 20, 2015 9:13 am    Post subject:
Reply with quote

Okay, you can start From LMMLIST.
If you are a new to this then you will have to refer the Rexx documentation which is located at the top under manuals.
Also search on this forum would help you to get similar stuff done in past, here are few of what I said above.
http://ibmmainframes.com/about38892.html
http://ibmmainframes.com/about55461.html
Also look for sort or iebcompr too. Suggest your client too the same.
Back to top
View user's profile Send private message
Mani453

New User


Joined: 19 Nov 2015
Posts: 12
Location: INDIA

PostPosted: Fri Nov 20, 2015 12:17 pm    Post subject: Reply to: comparison of two pds
Reply with quote

Hi,

For me its throwing JCL error. Please find my code. RC=25 m getting. can you suggest.


Code:
//Z015000A JOB (@,NM),'AUTO COMPR',
//         MSGCLASS=1,CLASS=A,NOTIFY=&SYSUID
//SUPERC  EXEC PGM=ISRSUPC,
//            PARM=(DELTAL,LINECMP,
//            '',
//            '')
//NEWDD  DD DSN=Z015000.TEST.PDS1,
//          DISP=SHR
//OLDDD  DD DSN=Z015000.TEST.PDS2,
//          DISP=SHR
//OUTDD  DD DSN=Z015000.TEST.PDSN(RESULT),
//          DISP=SHR
//SYSIN  DD *
  ISPF GENERATES THESE STATEMENTS..
/*


Code'd
Back to top
View user's profile Send private message
boyti ko

New User


Joined: 03 Nov 2014
Posts: 78
Location: Malaysia

PostPosted: Fri Nov 20, 2015 1:00 pm    Post subject:
Reply with quote

Put your output on a SEQDS, not on a PDS member. A length of 133 would suffice.
Back to top
View user's profile Send private message
Mani453

New User


Joined: 19 Nov 2015
Posts: 12
Location: INDIA

PostPosted: Fri Nov 20, 2015 2:05 pm    Post subject: Reply to: comparison of two pds
Reply with quote

Thanks a lot rohit.. Its working now..
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CLIST & REXX All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Rexx to send an email without SMTP Se... upendrasri All Other Mainframe Topics 4 Sun Nov 19, 2017 7:59 pm
No new posts ISREDIT Macro is not returning back t... nico_neoz CLIST & REXX 17 Sat Nov 18, 2017 7:40 pm
No new posts REXX LISTDSI () SMSINFO is not working upendrasri CLIST & REXX 4 Fri Nov 17, 2017 11:33 am
No new posts Calling IKJEFT01 program from Rexx upendrasri CLIST & REXX 4 Wed Nov 15, 2017 4:27 pm
No new posts How to write Rexx program to size and... sreejeshcs CLIST & REXX 14 Thu Oct 12, 2017 7:26 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us