Home      Mainframe Forum      Mainfarme Tutorials      IBM Manuals      Mainframe Interview Questions      Mainframe Books      IT News     SiteMap     Downloads


     
 
MAINFRAME - TIP OF THE DAY : programming pearls - Get your data structures correct first, and the rest of the program will write itself.

Google
 
Web mainframegurukul.com


Visit mainframe jobs page to search mainframes jobs on top job websites.


Problem faced in compare utility

 
Post new topic   Reply to topic    mainframegurukul.com Forum Index -> JCL
  View previous topic :: View next topic  
Author Message
thamodharan
Member


Joined: 21 Oct 2008
Posts: 14
Location: chennai

PostPosted: Thu Feb 04, 2010 8:08 pm    Post subject: Problem faced in compare utility Reply with quote

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....
Back to top
View user's profile Send private message

Frank Yaeger
Moderator


Joined: 18 Feb 2006
Posts: 443
Location: San Jose, CA

PostPosted: Fri Feb 05, 2010 10:12 pm    Post subject: Reply with quote

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/
Back to top
View user's profile Send private message Send e-mail Visit poster's website
thamodharan
Member


Joined: 21 Oct 2008
Posts: 14
Location: chennai

PostPosted: Mon Feb 08, 2010 5:38 pm    Post subject: Reply with quote

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!
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    mainframegurukul.com Forum Index -> JCL All times are GMT + 5 Hours
Page 1 of 1



 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Related topics
 Topics   Replies   Author   Views   Last Post 
No new posts two reports to compare , both different format - URGENT 1 ar3 863 Wed Jul 15, 2009 7:57 pm
Frank Yaeger View latest post
No new posts If both the JOBCAT & STEPCAT statements are coded in a s 1 Krishna 1359 Tue May 12, 2009 6:43 pm
Krishna View latest post
No new posts Commit both in DB2 and MQ 3 jackie 2196 Fri Jul 27, 2007 3:52 pm
dbzTHEdinosauer View latest post
No new posts How to use both lower and upper case letters in cobol? 1 Divya 4202 Fri Mar 09, 2007 10:27 pm
Veera View latest post
No new posts Stop Run in both called and calling programs !!! 2 arrbee 3812 Fri Mar 10, 2006 12:13 pm
jaydeeppal View latest post
 



This widget requires Flash Player 9 or better








Go to top of the page
 

Online ABEND Reference ||  JCL References ||  COBOL References ||  VSAM References ||  Tutorials by Drona Series ||  SQL tutorial ||  BOOKS  ||  DB2 INTERVIEW QUESTIONS ||  COBOL INTERVIEW QUESTIONS  ||  JCL INTERVIEW QUESTIONS ||  JCL2 INTERVIEW QUESTIONS ||  VSAM INTERVIEW QUESTIONS ||  CICS INTERVIEW QUESTIONS  ||  Online tutorials ||  Online ABEND Reference ||  JCL References ||  COBOL References ||  VSAM References ||  Tutorials by Drona Series ||  SQL tutorial ||  BOOKS  ||  SiteMap  ||  Expeditor Tutorial  ||  FILE-AID Tutorial  ||  Changeman Tutorial  ||  COBOL   ||  DB2   ||  JCL  ||  CICS  ||  VSAM  ||  DB2 Interview Questions ( 110 )   || Simple JCL Tutorials  || JCL Tutorial from MainframeGurukul.com   || Simple JCL Tutorial - Chapter1 ;|| Mainframe Forum - Tutorials  || Mainframe Tutorials

Drona Educational Forums - Mainframe Cobol DB2 CICS Board
Powered by phpBB