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 

comapring multiple files

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Job Control Language(JCL)
View previous topic :: View next topic  
Author Message
chandra_vssv
Beginner


Joined: 08 May 2005
Posts: 26
Topics: 12
Location: pune

PostPosted: Fri Nov 18, 2005 5:24 am    Post subject: comapring multiple files Reply with quote

Hi,

I have files to compare complete data to know the difference, in the following way

compare files A1 and A2 store the result in A
compare files B1 and B2 store the result in B
compare files C1 and C2 stote the result in C

is it possible to do this in single JCL using comparex or superc or anything... please provide a solution
_________________
Regards,
Chandu
Back to top
View user's profile Send private message Yahoo Messenger
kolusu
Site Admin
Site Admin


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

PostPosted: Fri Nov 18, 2005 5:37 am    Post subject: Reply with quote

Quote:

is it possible to do this in single JCL using comparex or superc or anything... please provide a solution

chandra_vssv,

code 3 steps in a JCL using SuperC in batch mode and you can have the desired output.

choose option 3.13 and provide the dataset names and the positions to be compared.

At bottom center of the page there is a option to run in foreground or batch. choose the batch option and the system will generate a JCL for you once you provide it with the jobcard.

Now change the OUTDD to your result dataset name and submit. check this link for an example

http://www.mvsforums.com/helpboards/viewtopic.php?p=22827#22827

Hope this helps...

Cheers

Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
chandra_vssv
Beginner


Joined: 08 May 2005
Posts: 26
Topics: 12
Location: pune

PostPosted: Fri Nov 18, 2005 6:30 am    Post subject: Reply with quote

Hi Kolusu,

Sorry to ask you , is it possible using comparex jcl, As comparex will show like this, it is easy to make the difference and client request the same

CPX75I - RECORDS PROCESSED: SYSUT1(1481387)/SYSUT2(1481387),DIFFERENCES(0)

i have done with two files but need to do compare all the three sets at a time.please let me know
_________________
Regards,
Chandu
Back to top
View user's profile Send private message Yahoo Messenger
kolusu
Site Admin
Site Admin


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

PostPosted: Fri Nov 18, 2005 8:29 am    Post subject: Reply with quote

Quote:

i have done with two files but need to do compare all the three sets at a time .please let me know



I am not aware of any utility which compares 6 files at a time. You can compare 2 datasets in a single step but not all 6 of them at a time.

SuperC gives you similar output based on the options.

kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Job Control Language(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


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group