View previous topic :: View next topic
|
Author |
Message |
Mainframe_Don
New User
Joined: 14 Dec 2007 Posts: 1 Location: Mumbai
|
|
|
|
I want to develop a below logic , how can I processed for this.
I need to compare member of one PDS with the member of another PDS , and whatever the differences will write to spool.
Normally in 3.13 we can compare only one by one member at a time.
Thanks
Sanjay Dhapate :) |
|
Back to top |
|
|
gcicchet
Senior Member
Joined: 28 Jul 2006 Posts: 1702 Location: Australia
|
|
|
|
Hi,
try this
Code: |
//COMPARE EXEC PGM=ISRSUPC,
// PARM=(DELTAL,LINECMP,
// '',
// '')
//NEWDD DD DSN=INPUT-DSN1(MEMBER)
// DISP=SHR
//OLDDD DD DSN=INPUT-DSN2(MEMBER)
//OUTDD DD SYSOUT=*
//SYSIN DD *
CMPCOLM 1:80
/*
//*
|
Gerry |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
|
|
|
|
Hi Sanjay..welcome.. recognized me..
Mainframe_Don wrote: |
Normally in 3.13 we can compare only one by one member at a time. |
You would need to redifine your rules a little more clear-
1. Does both the PDSs contain the same number of members or it's different.
2. If they contain the same number of members then how do you want to compare - first member of first PDS should be compared with all the other members of the other PDS or first member of PDS-1 with first membe of PDS-2 (one by one ).
Unless I misunderstood, you should answer the above, else Gerry's reply is the way to go. |
|
Back to top |
|
|
|