how to compare two files with more than one key

In this Mainframe Forum - You can post your queries on DFSORT, ICETOOL , SyncSort & JCL Utilities

Moderators: Frank Yaeger, Moderator Group

Post Reply
nagendra0222
Member
Posts: 1
Joined: Mon May 14, 2012 6:31 pm

how to compare two files with more than one key

Post by nagendra0222 » Thu Jan 03, 2013 12:11 pm

I can comapre two files with one key but issue was i can't comapre files with more than one key and duplicate need to be write from either file1 or file2.Could any help me on the same .

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

Post by William Collins » Thu Jan 03, 2013 12:27 pm

How did you compare with one key? Can you show your full sysout from the step doing the compare?

DikDude
Moderator
Posts: 1001
Joined: Fri Jul 22, 2011 8:39 am
Location: usa

Post by DikDude » Thu Jan 03, 2013 10:43 pm

The duplicate topic has been deleted. . .

If you can have the data created with the "keys" contiguous, you then can use your "one key" solution . . .
Have a good one

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