cobol +vsam - File compare logic

This is a Mainframe COBOL forum - you can post your queries on Mainframe COBOL, VS COBOL II, COBOL/370 , Enterprise COBOL

Moderators: dbzTHEdinosauer, Moderator Group

Post Reply
Posts: 6
Joined: Mon Jan 28, 2008 3:06 pm

cobol +vsam - File compare logic

Post by swadhend » Fri Jan 08, 2016 1:27 pm

Hello , I need one help in Cobol + vsam file handling things. I have to compare 2 ESDS(no key ) file (current file and previous file) and create the data file based on change in the current file. I have tried with all the things, but not getting correct output. Could you please help with this.

Posts: 6
Joined: Mon Jan 28, 2008 3:06 pm

Post by swadhend » Fri Jan 08, 2016 1:28 pm


William Collins
Active Member
Posts: 732
Joined: Thu May 24, 2012 4:07 am

Post by William Collins » Fri Jan 08, 2016 3:05 pm

It's a standard two-file match. Code is available on the web.

Also consider using your SORT product, with JOINKEYS.


Topic deleted by Admin

Post by academyindia4 » Tue Jan 19, 2016 9:40 am

<< Content deleted By Admin >>

Post Reply


Free tutorials from mainframegurukul
  • JCL Tutorial
    Covers all important JCL concepts.
  • Cobol Tutorial
    This tutorials covers all Cobol Topics from STRING to COMP-3.
  • DB2 Tutorial
    DB2 Tutorial focuses on DB2 COBOL Programming.
  • SORT Tutorial
    This Tutorial covers all important aspects of DFSORT with examples
  • CICS Tutorial
    This CICS tutorial covers CICS concepts and CICS Basics, CICS COBOL Programming.
Mainframe Interview questions

Other References
Mainframe Tools and others