sort and merge

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

Moderators: Frank Yaeger, Moderator Group

Post Reply
goalchi27
Member
Posts: 3
Joined: Fri Mar 09, 2007 2:20 pm

sort and merge

Post by goalchi27 » Tue Mar 13, 2007 3:42 pm

I want to delete the records from a PS file which do not satisfy certain conditions, using cobol program and then merge this file with remaining records with other two files giving a merged file. Can u please give me a sample program for this condition?
Thanks,
Girish Chintawar

User avatar
Frank Yaeger
Moderator
Posts: 812
Joined: Sat Feb 18, 2006 5:45 am
Location: San Jose, CA
Contact:

Post by Frank Yaeger » Tue Mar 13, 2007 10:41 pm

You haven't given enough information about your input files and records, the criteria for removing records, etc. And why did you post this in the DFSORT Forum when you say you want to use a COBOL program?
Frank Yaeger - DFSORT Development Team (IBM) - yaeger@us.ibm.com
Specialties: JOINKEYS, FINDREP, WHEN=GROUP, ICETOOL, Symbols, Migration
=> DFSORT/MVS is on the Web at http://www.ibm.com/storage/dfsort

Veera
Moderator
Posts: 111
Joined: Wed Feb 22, 2006 2:59 pm

Post by Veera » Thu Mar 15, 2007 10:23 pm

Girish,

Do u have any restriction that u should not use SORT or any utilities..
it can be done using one or two steps using utility rather than a program,
well if ur intrested in any utilites do mention the file details as FRANK
mentioned.

Thanks
Veera.

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