Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups 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: 1610
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: 1610
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 PL/I code tuning/Performance improvement Virendra Shambharkar PL/I & Assembler 4 Mon Dec 05, 2016 11:57 am
No new posts What is the code in CLIST to enable t... jackzhang75 CLIST & REXX 1 Fri Dec 02, 2016 3:02 am
No new posts IDEAL - Code Retrieval yugendran CA Products 0 Fri Nov 25, 2016 3:27 pm
No new posts What is the command to check MODE of ... rohanthengal CLIST & REXX 6 Fri Nov 18, 2016 1:48 pm
No new posts CICS NEW SIT PARAMETERS CICS BEHAVIOR... Kyle Carroll CICS 0 Fri Nov 04, 2016 11:55 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us