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: 1257
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: 2024
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: 1257
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: 2547
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: 2024
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: 3053
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 Compare 2 files and retrive records f... DFSORT/ICETOOL 3
No new posts Compare 2 files(F1 & F2) and writ... JCL & VSAM 8
No new posts Replace each space in cobol string wi... COBOL Programming 3
No new posts Using API Gateway from CICS program CICS 0
No new posts COBOL -Linkage Section-Case Sensitive COBOL Programming 1
Search our Forums:

Back to Top