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 Match two files using multiple keys a... santoshks1987 SYNCSORT 10 Fri Aug 18, 2017 10:50 am
No new posts Multiple VSAM files single output fil... Mohan Kothakota DFSORT/ICETOOL 11 Wed Aug 09, 2017 7:57 pm
No new posts getting three output files out of JOI... migusd SYNCSORT 7 Mon Jun 05, 2017 11:30 pm
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


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