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 Check if any Detail records and extra... V S Amarendra Reddy SYNCSORT 19 Mon May 08, 2017 8:54 pm
No new posts Unable to create multiple files using... mbattu COBOL Programming 3 Fri May 05, 2017 5:35 pm
This topic is locked: you cannot edit posts or make replies. Merge two files and update Trailer re... Yashashri JCL & VSAM 1 Thu May 04, 2017 12:54 pm
No new posts Dynamic split of files under groups sril.krishy DFSORT/ICETOOL 4 Mon Apr 17, 2017 1:09 pm
No new posts Compare two files and subtract values ameetmund DFSORT/ICETOOL 7 Fri Mar 31, 2017 3:35 pm


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