Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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 sending email from jcl using the mail... niloyarp JCL & VSAM 5 Tue Oct 10, 2017 12:32 pm
No new posts sort records based on length exceeds ... maxsubrat DFSORT/ICETOOL 7 Wed Oct 04, 2017 4:48 pm
No new posts Addition of two records on 2 fields amar143 SYNCSORT 8 Tue Oct 03, 2017 11:14 am
No new posts FTP Skip or ignore error and process ... AJAYREDDY All Other Mainframe Topics 3 Wed Sep 27, 2017 8:12 pm
No new posts Comparing 2 Files using Current time arunsoods SYNCSORT 9 Fri Sep 22, 2017 6:00 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us