Hi,
I am using ISRSUPC utility(ISPF Utility) for comparing two files. When comparing I am getting unsuccessful comparision but both the files are matching when I manually look at the files.
For example,
In the error message its showing '0071001' as inserted, and the same data has been shown as Deleted as well. But when a data is shown as inserted should not be shown as Deleted right.
Please look at this and give me the possible root cause of this.
Thanks in Advance....
Problem faced in compare utility
Moderators: Frank Yaeger, DikDude, Moderator Group
- thamodharan
- Member
- Posts: 21
- Joined: Tue Oct 21, 2008 4:45 pm
- Location: chennai
- Frank Yaeger
- Moderator
- Posts: 812
- Joined: Sat Feb 18, 2006 5:45 am
- Location: San Jose, CA
- Contact:
Please look at what? You haven't provided any real information. We don't know what your input and output look like. We don't know what your job looks like. We only have your word that "both the files are matching when I manually look at the files" (did you look at the files in hex?). How can you possibly expect anyone to "look at this and give me possible root cause of this" when you haven't provided any real information?
Frank Yaeger - DFSORT Development Team (IBM) - yaeger@us.ibm.com
Specialties: JOINKEYS, FINDREP, WHEN=GROUP, ICETOOL, Symbols, Migration
=> DFSORT/MVS is on the Web at http://www.ibm.com/storage/dfsort
Specialties: JOINKEYS, FINDREP, WHEN=GROUP, ICETOOL, Symbols, Migration
=> DFSORT/MVS is on the Web at http://www.ibm.com/storage/dfsort
- thamodharan
- Member
- Posts: 21
- Joined: Tue Oct 21, 2008 4:45 pm
- Location: chennai
Hi,
The following JCL is the one I used to compare two files(INFILE1, INFILE2).
//U573403A EXEC PGM=ISRSUPC,
// PARM=(DELTAL,LINECMP,
// '',
// '')
//NEWDD DD DSN=INFILE1,
// DISP=SHR
//OLDDD DD DSN=INFILE2,
// DISP=SHR
//*OUTDD DD SYSOUT=*
//OUTDD DD DSN=REPORT.FILE,
// DISP=(NEW,CATLG,DELETE),
// UNIT=3390,
// SPACE=(CYL,(10,2),RLSE)
//SYSIN DD *
CMPCOLM 1:10
/*
And the data in the following file will be looking like,
INFILE1
7000209999
7000210001
7000219999
7000220001
7000229999
7000240001
7000249999
7000260001
7000269999
7000270001
INFILE2
7000160456
7000210001
7000260001
7000270001
7000270003
7000270007
7000270009
In both the files I have 7000210001, 7000260001. But in the report file these two records are shown as INSERTED as well as DELETED. Please let me know if I should put the snapshot of the report file where I am having this issue.
Thanks!
The following JCL is the one I used to compare two files(INFILE1, INFILE2).
//U573403A EXEC PGM=ISRSUPC,
// PARM=(DELTAL,LINECMP,
// '',
// '')
//NEWDD DD DSN=INFILE1,
// DISP=SHR
//OLDDD DD DSN=INFILE2,
// DISP=SHR
//*OUTDD DD SYSOUT=*
//OUTDD DD DSN=REPORT.FILE,
// DISP=(NEW,CATLG,DELETE),
// UNIT=3390,
// SPACE=(CYL,(10,2),RLSE)
//SYSIN DD *
CMPCOLM 1:10
/*
And the data in the following file will be looking like,
INFILE1
7000209999
7000210001
7000219999
7000220001
7000229999
7000240001
7000249999
7000260001
7000269999
7000270001
INFILE2
7000160456
7000210001
7000260001
7000270001
7000270003
7000270007
7000270009
In both the files I have 7000210001, 7000260001. But in the report file these two records are shown as INSERTED as well as DELETED. Please let me know if I should put the snapshot of the report file where I am having this issue.
Thanks!
FREE TUTORIALS
Tutorials
Free tutorials from mainframegurukul
- JCL Tutorial
Covers all important JCL concepts. - Cobol Tutorial
This tutorials covers all Cobol Topics from STRING to COMP-3. - DB2 Tutorial
DB2 Tutorial focuses on DB2 COBOL Programming. - SORT Tutorial
This Tutorial covers all important aspects of DFSORT with examples - CICS Tutorial
This CICS tutorial covers CICS concepts and CICS Basics, CICS COBOL Programming.
Interview
Mainframe Interview questions
- Cobol Interview Questions
50+ Interview Questions - JCL Interview Questions
50+ Interview Questions - DB2 Interview Questions
100+ Interview Questions - CICS Interview Questions
70+ Interview Questions - VSAM Interview Questions
27 Interview Questions
Other References
Mainframe Tools and others
- XPEDITER Reference
Explains how we can debug a program - FILEAID Reference
Explains how to browse , edit and delete datasets - Change Man Reference
Quick Start tutorial on Changeman - Abend Reference
Important Abend codes explained - FaceBook Page
MainframeGurukul FaceBook Page - LinkedIn Page
MainframeGurkul Linkedin Page