IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Efficient method to Compare datasets using JCL


IBM Mainframe Forums -> All Other Mainframe Topics
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
siva001

New User


Joined: 12 Jan 2007
Posts: 9
Location: chennai

PostPosted: Thu Jan 25, 2007 2:18 pm
Reply with quote

Hi,
Pls suggest me an efficient method to compare two datasets and put the difference in another dataset .I used Superc but the output contained the data with some of the part truncated due to space constraints.Is it customisable??Can we retreive the entire data without the header and trailer part that are produced while using the utility.Is there any other way by which we can efficiently accomplish the comparision mechanism
Back to top
View user's profile Send private message
Kumar Ashok

New User


Joined: 20 Jan 2007
Posts: 29
Location: KOLKATA

PostPosted: Thu Jan 25, 2007 5:16 pm
Reply with quote

// <JOB CARD>
//PDSCMPR EXEC PGM=ISRSUPC,
// PARM=(LONGL,LINECMP, **LONGL allow you to compare if the record length exceeds the record length of screen
// '',
// '')
//NEWDD DD DSN=<name of the new dataset>,
// DISP=SHR
//OLDDD DD DSN=<name of the old dataset>,
// DISP=SHR
//OUTDD DD DSN=<name of the dataset where you want to store the difference>,
// DISP = <proper disp may be in accordance with comparing datasets>
//SYSIN DD *
CMPCOLM 7:72 **no of characters you want to constraint the search
SELECT B05520WE *** required if you want to compare a member present in both the datasets.
SELECT B05520XE
SELECT D10D078E
SELECT D10Y002E
SELECT D10Y003E
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> All Other Mainframe Topics

 


Similar Topics
Topic Forum Replies
No new posts Compare 2 files and retrive records f... DFSORT/ICETOOL 3
No new posts Compare 2 files(F1 & F2) and writ... JCL & VSAM 8
No new posts Compare only first records of the fil... SYNCSORT 7
No new posts Calling Java method from batch COBOL ... COBOL Programming 5
No new posts Compare two files with a key and writ... SYNCSORT 3
Search our Forums:

Back to Top