IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Compare a column in two different datasets


IBM Mainframe Forums -> IBM Tools
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
hiravibk
Warnings : 1

Active User


Joined: 14 Dec 2008
Posts: 107
Location: India

PostPosted: Tue Jan 18, 2011 9:40 am
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
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: 2455
Location: Hampshire, UK

PostPosted: Tue Mar 22, 2011 7:10 pm
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
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

Superior Member


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

PostPosted: Wed Mar 23, 2011 1:44 pm
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> IBM Tools

 


Similar Topics
Topic Forum Replies
No new posts Compare 2 files and retrive records f... DFSORT/ICETOOL 3
No new posts Compare 2 files(F1 & F2) and writ... JCL & VSAM 8
No new posts Replacing 'YYMMDD' with date, varying... SYNCSORT 3
No new posts Compare only first records of the fil... SYNCSORT 7
No new posts How to load to DB2 with column level ... DB2 6
Search our Forums:

Back to Top