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
 

 

records which are present on both files

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL
View previous topic :: :: View next topic  
Author Message
raghavmcs

Active User


Joined: 14 Jul 2005
Posts: 105

PostPosted: Wed Jul 22, 2009 11:33 pm    Post subject: records which are present on both files
Reply with quote

Dear Experts,

I am in a siuation in production where I need a quick information of all the account which are present in file A and B both.Both the files are of differetnt lenght and having different record count.I know the field position where it should compare/search for the record
Following is the condtion

There are two files A and B

1)First file is of 800 length and the acct# is from position 6 to 10,its numeric ,this is file B.


b)The second file is of 130 length and the account is in position 1 to 4(This file is having other records also)…and the number of records are more than 5000 so I can not manually find out the records..This is file A

I want all the accounts which are there on file B and are also on file A.The number of records in both the files are not same…
Hope I am clear,I do not have soething ready quickly for this situation hence posting on this forum..
Please get back if I am not clear..Thanks for your help....
Back to top
View user's profile Send private message

Skolusu

Senior Member


Joined: 07 Dec 2007
Posts: 2205
Location: San Jose

PostPosted: Wed Jul 22, 2009 11:48 pm    Post subject:
Reply with quote

raghavmcs,

check the smart DFSORT trick "Create files with matching and non-matching records"

http://www.ibm.com/support/docview.wss?rs=0&uid=isg3T7000094
Back to top
View user's profile Send private message
raghavmcs

Active User


Joined: 14 Jul 2005
Posts: 105

PostPosted: Tue Jul 28, 2009 1:43 am    Post subject:
Reply with quote

Thanks this helped me out!
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 -> DFSORT/ICETOOL All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Record Not found in AlX but record re... mukun264 COBOL Programming 2 Fri Mar 24, 2017 9:28 am
No new posts Append data from two files into a sin... Praveen04 DFSORT/ICETOOL 5 Thu Mar 16, 2017 7:29 pm
No new posts Join giving more records than expected Danielle.Filteau SYNCSORT 2 Thu Mar 09, 2017 3:28 am
No new posts TSO or command line utility to genera... kishpra JCL & VSAM 3 Thu Mar 09, 2017 1:11 am
No new posts Extract set of records matching on ac... bhaskar_kanteti DFSORT/ICETOOL 3 Mon Mar 06, 2017 7:19 am


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