IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

COBOL program logic for comparisipn of two files


IBM Mainframe Forums -> HomeWorks & Requests
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Nagender19

New User


Joined: 19 Oct 2022
Posts: 1
Location: India

PostPosted: Wed Oct 19, 2022 3:07 pm
Reply with quote

Hi can some suggest me a COBOL only pgm for two input files comparison and writing records of matched to one output file and unmatched to another output file and their record count
Back to top
View user's profile Send private message
Joerg.Findeisen

Senior Member


Joined: 15 Aug 2015
Posts: 1306
Location: Bamberg, Germany

PostPosted: Wed Oct 19, 2022 4:33 pm
Reply with quote

N00b, see here: https://ibmmainframes.com/viewtopic.php?t=22649
Back to top
View user's profile Send private message
sergeyken

Senior Member


Joined: 29 Apr 2008
Posts: 2119
Location: USA

PostPosted: Thu Oct 20, 2022 1:14 am
Reply with quote

Nagender19 wrote:
Hi can some suggest me a COBOL only pgm for two input files comparison and writing records of matched to one output file and unmatched to another output file and their record count

Here it is: www.ibm.com/docs/en/i/7.2?topic=languages-cobol
Back to top
View user's profile Send private message
csudhir

New User


Joined: 15 Jun 2016
Posts: 2
Location: Hyderabad

PostPosted: Sat Aug 26, 2023 8:22 pm
Reply with quote

Nagender19 wrote:
Hi can some suggest me a COBOL only pgm for two input files comparison and writing records of matched to one output file and unmatched to another output file and their record count
Back to top
View user's profile Send private message
Joerg.Findeisen

Senior Member


Joined: 15 Aug 2015
Posts: 1306
Location: Bamberg, Germany

PostPosted: Sat Aug 26, 2023 8:26 pm
Reply with quote

@csudhir: Do not post attachments for security reasons. Use the code tags to post any code/data instead.
Back to top
View user's profile Send private message
Pedro

Global Moderator


Joined: 01 Sep 2006
Posts: 2585
Location: Silicon Valley

PostPosted: Sat Aug 26, 2023 11:10 pm
Reply with quote

re: "COBOL only pgm"

If I were doing this exercise, I would figure out how to call SUPERC from COBOL. Why reinvent the wheel?
Back to top
View user's profile Send private message
sergeyken

Senior Member


Joined: 29 Apr 2008
Posts: 2119
Location: USA

PostPosted: Sat Aug 26, 2023 11:21 pm
Reply with quote

Pedro wrote:
re: "COBOL only pgm"

Why reinvent the wheel?

I guess: the manager doesn't know other words related to mainframe besides COBOL (and maybe JCL), isn't it?
Back to top
View user's profile Send private message
Rohit Umarjikar

Global Moderator


Joined: 21 Sep 2010
Posts: 3075
Location: NYC,USA

PostPosted: Mon Aug 28, 2023 1:45 am
Reply with quote

Moved to students section of this forum.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> HomeWorks & Requests

 


Similar Topics
Topic Forum Replies
No new posts Replacing FILLER with FILLER<SeqNu... DFSORT/ICETOOL 2
No new posts Error to invoke MPP program through B... IMS DB/DC 3
No new posts Compile Sp Cobol base COBOL Programming 1
No new posts SQLCODE=-311 in Cobol SP-DB2. COBOL Programming 2
No new posts COBOL 6.4 - User Defined Function nee... COBOL Programming 6
Search our Forums:

Back to Top