Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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
This topic is locked: you cannot edit posts or make replies. Unavailable RECON datasets while exec... abdulrafi JCL & VSAM 10 Fri Apr 06, 2018 12:45 pm
No new posts Creation of Datasets dynamically on t... Raghu M N DFSORT/ICETOOL 8 Fri Mar 16, 2018 12:56 am
No new posts Query to compare 2 values of 1 column... Poha Eater DB2 13 Fri Mar 09, 2018 10:45 am
No new posts Enterprise PL/I - dynamic allocation ... prino PL/I & Assembler 1 Mon Jan 29, 2018 10:17 pm
No new posts Compare two PS files using ICE TOOL f... SENTHIL MURUGAAN DFSORT/ICETOOL 5 Sun Dec 24, 2017 1:26 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us