MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Comparison of files

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> TSO and ISPF
View previous topic :: View next topic  
Author Message
naveen
Beginner


Joined: 03 Dec 2002
Posts: 90
Topics: 31

PostPosted: Thu Jan 16, 2003 4:00 am    Post subject: Comparison of files Reply with quote

I want to compare 2 files , both having record lengths of 80;
such that only the data between column 1 to column 20 in both files should be compared.
How can I do this ?
(I am looking for some SUPERCE or FILE-AID comparison solution)
Back to top
View user's profile Send private message Send e-mail
semigeezer
Supermod


Joined: 03 Jan 2003
Posts: 1014
Topics: 13
Location: Atlantis

PostPosted: Thu Jan 16, 2003 4:05 am    Post subject: Reply with quote

SuperC has a process statement CMPCOLM (1:20) or something like that. See the help within superc for the exact syntax.
Back to top
View user's profile Send private message Visit poster's website
Phantom
Data Mgmt Moderator
Data Mgmt Moderator


Joined: 07 Jan 2003
Posts: 1056
Topics: 91
Location: The Blue Planet

PostPosted: Thu Jan 16, 2003 4:25 am    Post subject: Reply with quote

All You need to do is that in the SYSIN card specify the following commands.

//SYSIN DD *
CMPCOLM 1:20
SELECT SRCFILE1:SRCFILE2
/*

can anyone please tell what parameter we need to pass to ISRSUPC program for Comparison.

We will use the following command to SUPERC search,

//JS01 EXEC PGM=ISRSUPC,
// PARM=(SRCHCMP,
// 'ANYC')

What should be given instead of SRCHCMP for Comparison. It will be useful if you can send me the actual piece of code.

Thanks & Regards,
Navin. J
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12376
Topics: 75
Location: San Jose

PostPosted: Thu Jan 16, 2003 7:10 am    Post subject: Reply with quote

Phantom,

Let the system generate the JCL for you. go to option 3.13 and on the bottom of the screen there is an option for EXECUETION MODE
Code:

 Execution Mode  :
  _2  1. Foreground
       2. Batch


set the execuetion mode to 2(batch) and give the dataset names to be compared.Type E at the command prompt to give your sysin options.press PF3 after entering your options and hit ENTER.

The system will generate the JCL for you.

Hope this helps...

cheers

kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Phantom
Data Mgmt Moderator
Data Mgmt Moderator


Joined: 07 Jan 2003
Posts: 1056
Topics: 91
Location: The Blue Planet

PostPosted: Thu Jan 16, 2003 7:27 am    Post subject: Reply with quote

Kolusu, Thanks for reminding me. I had done that before, but forgot completely.

Thanks, Its working now.
Navin. J
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> TSO and ISPF 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


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group