File manager compare for records with same key

In this Mainframe Forum - You can post your queries on JCL, OS/390 JCL, MVS JCL, z/OS JCL, JES2 & JES3

Moderators: Frank Yaeger, DikDude, Moderator Group

Post Reply
Posts: 1
Joined: Wed Jul 19, 2017 1:24 pm

File manager compare for records with same key

Post by Padmaja » Wed Jul 19, 2017 1:35 pm


I ran FMNMAIN Compare for 2 files with keyed synchronization. Example File 1 has 3 records and File 2 has 2 records with the same key. So the third record from File 1 should be displayed as "Inserted Record". But I get record 1 from File 1 displayed as "New dataset record" which is wrong because first 2 records from both files are same. Kindly let me know what setting need to be applied to correct the compare output?

Posts: 2
Joined: Tue Aug 15, 2017 4:12 pm

Post by kratai » Thu Aug 17, 2017 3:46 pm

visit poster's website
Can you recommend a good benefit, apply. Thanks for all the good information to publish.

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