View previous topic :: View next topic
|
Author |
Message |
Mani453
New User
Joined: 19 Nov 2015 Posts: 13 Location: INDIA
|
|
|
|
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 |
|
 |
Rohit Umarjikar
Global Moderator

Joined: 21 Sep 2010 Posts: 2996 Location: NYC,USA
|
|
|
|
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 |
|
 |
Mani453
New User
Joined: 19 Nov 2015 Posts: 13 Location: INDIA
|
|
|
|
Thanks...
But client requested me make a tool for that.. So I am trying in Rexx or easytrieve. |
|
Back to top |
|
 |
Rohit Umarjikar
Global Moderator

Joined: 21 Sep 2010 Posts: 2996 Location: NYC,USA
|
|
|
|
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.
ibmmainframes.com/about38892.html
ibmmainframes.com/about55461.html
Also look for sort or iebcompr too. Suggest your client too the same. |
|
Back to top |
|
 |
Mani453
New User
Joined: 19 Nov 2015 Posts: 13 Location: INDIA
|
|
|
|
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 |
|
 |
boyti ko
New User

Joined: 03 Nov 2014 Posts: 78 Location: Malaysia
|
|
|
|
Put your output on a SEQDS, not on a PDS member. A length of 133 would suffice. |
|
Back to top |
|
 |
Mani453
New User
Joined: 19 Nov 2015 Posts: 13 Location: INDIA
|
|
|
|
Thanks a lot rohit.. Its working now.. |
|
Back to top |
|
 |
emir_soko
New User
Joined: 10 Mar 2022 Posts: 8 Location: Germany
|
|
|
|
Hey, mani can you show an example of your code I have to do the same thing and I am a beginner so I am stuck....
thanks |
|
Back to top |
|
 |
Joerg.Findeisen
Senior Member

Joined: 15 Aug 2015 Posts: 1040 Location: Bamberg, Germany
|
|
|
|
emir_soko wrote: |
Hey, mani can you show an example of your code I have to do the same thing and I am a beginner so I am stuck....
thanks |
Do not hijack year old posts, start a new one. Also there is https://www.ibmmainframeforum.com for beginners. |
|
Back to top |
|
 |
|