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
 

 

About comparing two datases

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
View previous topic :: :: View next topic  
Author Message
ashwinreddy

Active User


Joined: 16 Sep 2004
Posts: 106
Location: Hyderabad

PostPosted: Thu Sep 23, 2004 7:59 pm    Post subject: About comparing two datases
Reply with quote

Hai

I need program to compare two datasets(includes all columns) if any two datasets matches write to another dataset.

please try to send solution to my problem

Thanks ashwin
Back to top
View user's profile Send private message

sandip_datta

Active User


Joined: 02 Dec 2003
Posts: 151
Location: Tokyo, Japan

PostPosted: Fri Sep 24, 2004 7:12 am    Post subject:
Reply with quote

I don't understand what do you want to mean? What do you want to write to a third dataset?

You can compare two datasets using ISPF option 3.13, with Fileaid option 10 from primary menu, using COMPAREX in batch mode and some other utilities also.

Regards,
Sandip.
Back to top
View user's profile Send private message
sudheerkumar_k

New User


Joined: 08 Sep 2004
Posts: 10
Location: Bangalore

PostPosted: Tue Nov 02, 2004 12:37 pm    Post subject: Ashwin if not able to use before solution use this
Reply with quote

Ashwin Reddy,

As sandip said 1. You can use File Aid Option 10
2. SuperCE Utility in ISPF at 3.13

Otherwise make use of this program it works in our shop check in our shop.

//HTDAESKB JOB (WATSBAR,C8510A08,EB10B051),'CHANDANAM',CLASS=6,
// MSGCLASS=X,USER=HTDAESK,NOTIFY=HTDAESK
//**********************************************************************
//* COMPARING TWO DATASETS FOR A SPECIFIED COLUMNS.
//* EX: THE BELOW JCL COMPARES TWO DATASETS FOR THE COLUMNS 7-72 AND
//* WRITES THE O/P TO SYSOUT. EVEN A NEW FILE CAN BE CREATED IF NOT
//* DIRECTED TO SYSOUT
//**********************************************************************
//SUPERC EXEC PGM=ISRSUPC, *
// PARM=(CHNGL,LINECMP,
// '',
// '')
//NEWDD DD DSN=HTDAESK.CCMS.JCLS(TEST1),DISP=SHR
//OLDDD DD DSN=HTDAESK.CCMS.JCLS(TEST2),DISP=SHR
//OUTDD DD SYSOUT=A
//
//*OUTDD DD DISP=(NEW,CATLG,DELETE),
//* MGMTCLAS=QTRLY,
//* DSN=HTDAESK.CCMS.COMPARE1,
//* DCB=(SYS2.DSCB,LRECL=13,RECFM=FB,BLKSIZE=0),
//* UNIT=DISK,
//* SPACE=(CYL,(80,30),RLSE)
//*
//SYSIN DD *
CMPCOLM 7:19
/*

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 -> COBOL Programming All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Comparing Decimal and CHAR columns rakesh17684 DB2 7 Thu Oct 20, 2016 2:33 am
No new posts comparing comp-3 and unpacked numbers juares castro COBOL Programming 3 Mon May 30, 2016 6:46 pm
No new posts Need help on comparing hexadecimal va... ashok_uddaraju DFSORT/ICETOOL 4 Thu Apr 28, 2016 2:08 am
No new posts Comparing two VB files phani_nittice SYNCSORT 8 Fri Jan 22, 2016 1:19 am
No new posts Comparing timestamp in Synscort l.nethaji SYNCSORT 13 Wed Jan 20, 2016 4:47 pm


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