sandip_datta
Active User
Joined: 02 Dec 2003 Posts: 150 Location: Tokyo, Japan
|
|
|
|
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. |
|
sudheerkumar_k
New User
Joined: 08 Sep 2004 Posts: 10 Location: Bangalore
|
|
|
|
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
/*
|
|