Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Compare a column in two different datasets

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> IBM Tools
View previous topic :: :: View next topic  
Author Message
hiravibk
Warnings : 1

Active User


Joined: 14 Dec 2008
Posts: 103
Location: India

PostPosted: Tue Jan 18, 2011 9:40 am    Post subject: Compare a column in two different datasets
Reply with quote

Hi All,

Is it possible using file manager to compare two datasets for a particular position in both the files?
Example: I have two datasets FILEA and FILEB. I want to compare both the datasets for data on 10th position in both the files only.

Regards
Back to top
View user's profile Send private message

chandracdac

New User


Joined: 15 Jun 2007
Posts: 92
Location: bangalore

PostPosted: Tue Mar 22, 2011 3:02 pm    Post subject: Reply to: Compare a column in two different datasets
Reply with quote

Hi

you don't need file aid to do this. we can do this by normal 3.13 option.
In 3.13 on top of the screen we can options, place the cursor over there and hit enter then we can see some options there. select edit statements there... give the starting and end column there...

example
Examples Explanation
CMPCOLM 5:60 75:90 Compare using two column compare ranges
LSTCOLM 25:90 List columns 25:90 from input
DPLINE 'PAGE ' Exclude line if "PAGE " found anywhere on line
SELECT MEM1,NMEM2:OMEM2 Compare MEM1 with MEM1 and NMEM2 with OMEM2
CMPLINE NTOP 'MACRO' Start comparing after string found in new DSN
LNCT 66 Set lines per page to 66
Back to top
View user's profile Send private message
Nic Clouston

Global Moderator


Joined: 10 May 2007
Posts: 1756
Location: UK

PostPosted: Tue Mar 22, 2011 7:10 pm    Post subject:
Reply with quote

I do not know if you can do this using File Manager but the first place I would try is the 'help' key - usually F1 or PF1. The second place would be the manual. The last place to go is a forum.
Back to top
View user's profile Send private message
Jitendra kushwah
Warnings : 1

New User


Joined: 22 Jul 2009
Posts: 3
Location: Delhi

PostPosted: Tue Mar 22, 2011 10:38 pm    Post subject: Reply to: Compare a column in two different datasets
Reply with quote

Through ICETOOL you can compare the two files.i think you can also comapre file via file aid.
Back to top
View user's profile Send private message
Anuj Dhawan

Senior Member


Joined: 22 Apr 2006
Posts: 6258
Location: Mumbai, India

PostPosted: Wed Mar 23, 2011 1:44 pm    Post subject: Re: Compare a column in two different datasets
Reply with quote

hiravibk wrote:
Is it possible using file manager to compare two datasets for a particular position in both the files?
Example: I have two datasets FILEA and FILEB. I want to compare both the datasets for data on 10th position in both the files only.
Once compard then do what, you did not tell us! Though File-manger is inot available to me - but it's doable per the documentation.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> IBM Tools All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Storing huge volume of data, compare ... Pradeep K M All Other Mainframe Topics 3 Mon Jan 16, 2017 5:08 pm
This topic is locked: you cannot edit posts or make replies. DB2 query Using Recursion, Converting... smilewithashu2 DB2 3 Tue Jan 03, 2017 12:50 pm
No new posts DUMP DATASETS VS TRACE DATASETS! lind sh CICS 4 Tue Dec 06, 2016 11:31 pm
No new posts SQZ pipe delimited file with 1 column... Rick Silvers DFSORT/ICETOOL 6 Sun Nov 06, 2016 8:11 pm
No new posts Match or compare two files in VB Format anatol DFSORT/ICETOOL 14 Thu Nov 03, 2016 7:41 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us