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
 

 

Efficient method to Compare datasets using JCL

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics
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    Post subject: Efficient method to Compare datasets using JCL
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    Post subject:
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    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics 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 get the all datasets name parasmalik20 CLIST & REXX 5 Tue Jul 18, 2017 9:10 pm
No new posts compare 2 rows within the same file ram_vizag SYNCSORT 7 Wed Jun 14, 2017 12:34 am
No new posts member list compare jzhardy TSO/ISPF 6 Fri May 12, 2017 3:18 pm
This topic is locked: you cannot edit posts or make replies. SDSF multiple spool datasets extracte... PJAlarcon CLIST & REXX 1 Fri Apr 21, 2017 10:50 pm
No new posts Edit large number of datasets (QSAM) zh_lad TSO/ISPF 3 Tue Apr 04, 2017 6:08 pm


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