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 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
No new posts Split 1 file into 10 output Files - S... Prasanth Kumar SYNCSORT 5 Sat Sep 16, 2017 12:02 am

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