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
 
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 Skip records depends on count lakshmiibmmainframes DFSORT/ICETOOL 5 Sun Dec 24, 2017 9:51 pm
No new posts Compare two PS files using ICE TOOL f... SENTHIL MURUGAAN DFSORT/ICETOOL 5 Sun Dec 24, 2017 1:26 pm
No new posts Inefficient BUILD - VB records paddin... Daniel Prosser SYNCSORT 9 Thu Dec 14, 2017 3:52 pm
No new posts ISSUE IN copying Sequential file reco... thesumitk JCL & VSAM 2 Wed Dec 13, 2017 3:07 pm
No new posts Merging 2 records at multiple rows wi... Bijesh DFSORT/ICETOOL 2 Wed Dec 06, 2017 1:50 am

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