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
 

 

identical records in 2 files?

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
View previous topic :: :: View next topic  
Author Message
mframes

New User


Joined: 29 Apr 2004
Posts: 8
Location: Chennai(Madras)

PostPosted: Mon May 03, 2004 2:55 pm    Post subject: identical records in 2 files?
Reply with quote

what is the best method to pick the identical records from two files and writing them ( only the identical records) in a new file ?please give the sample program .
Back to top
View user's profile Send private message

bluebird

Active User


Joined: 03 Feb 2004
Posts: 127

PostPosted: Mon Jun 07, 2004 4:37 pm    Post subject:
Reply with quote

IBM sort utility can do that with this sysin :
Code:

sort fields=(st,end,ch)
sum fields=none
Back to top
View user's profile Send private message
ammu

New User


Joined: 10 Jun 2004
Posts: 4
Location: chennai

PostPosted: Thu Jun 10, 2004 5:36 pm    Post subject: files
Reply with quote

dear friends,
u r writing a program to read/write/rewrite records onto a file(seq-seq). u write 5 records(say),read them,also rewrite them, but if u again wanna add few more records without changing the coding how can u do friends?suppose if v give a seperate option as "APPEND PARA" --"DO U WANNA ADD RECORDS?" then how do the compiler know that ?
plz... respond me soooon.
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 -> COBOL Programming All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Removing Duplicates based on certain ... chandracdac DFSORT/ICETOOL 8 Fri Dec 09, 2016 4:40 am
No new posts High CPU consumption Job using IAM fi... aswinir JCL & VSAM 15 Thu Dec 01, 2016 8:28 pm
No new posts Limit duplicate records in the SORT pshongal SYNCSORT 6 Mon Nov 21, 2016 12:54 pm
No new posts Match or compare two files in VB Format anatol DFSORT/ICETOOL 14 Thu Nov 03, 2016 7:41 pm
No new posts How to split the records using the am... vnktrrd DFSORT/ICETOOL 24 Fri Oct 28, 2016 7:33 pm


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