Problem faced in compare utility

In this Mainframe Forum - You can post your queries on JCL, OS/390 JCL, MVS JCL, z/OS JCL, JES2 & JES3

Moderators: Frank Yaeger, DikDude, Moderator Group

Post Reply
User avatar
thamodharan
Member
Posts: 21
Joined: Tue Oct 21, 2008 4:45 pm
Location: chennai

Problem faced in compare utility

Post by thamodharan » Thu Feb 04, 2010 8:08 pm

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....

User avatar
Frank Yaeger
Moderator
Posts: 812
Joined: Sat Feb 18, 2006 5:45 am
Location: San Jose, CA
Contact:

Post by Frank Yaeger » Fri Feb 05, 2010 10:12 pm

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

User avatar
thamodharan
Member
Posts: 21
Joined: Tue Oct 21, 2008 4:45 pm
Location: chennai

Post by thamodharan » Mon Feb 08, 2010 5:38 pm

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!

Post Reply

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



Other References
Mainframe Tools and others