To compare two files and write four reports

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
mohansenthilkumar
Member
Posts: 1
Joined: Tue Feb 24, 2009 3:54 pm

To compare two files and write four reports

Post by mohansenthilkumar » Tue Feb 24, 2009 4:13 pm

Please give a logic on this

Anuj Dhawan
Moderator
Posts: 1625
Joined: Sat Aug 09, 2008 9:02 am
Location: Mumbai, India

Post by Anuj Dhawan » Wed Mar 11, 2009 9:42 pm

Hi Mohan & welcome to the Forums,

Did you make any progress on this or the problem is still open?

Simple method is:

1. Define the FDs for the four reports.
2. Read file-1 & move/write the variables to necessary report.
3. Read file-2 & move/write the variables to necessary report.

If you need some better replies you need to tell the rules to create the reports.

Good Luck. . . :)
Regards,
Anuj

Post Reply

FREE TUTORIALS

Tutorials
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.
Interview
Mainframe Interview questions



Other References
Mainframe Tools and others