how to look up and change

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

Moderators: Frank Yaeger, Moderator Group

Post Reply
gjawalekar
Member
Posts: 3
Joined: Wed Mar 26, 2008 11:58 am
Location: chennai

how to look up and change

Post by gjawalekar » Wed Mar 26, 2008 1:17 pm

there is one vsam file having number of records but only for records having specific field as BE we to change that field it to BF and write all records to one flat file. is it possible by sort.?

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

Post by Frank Yaeger » Wed Mar 26, 2008 7:51 pm

Yes, you can use DFSORT's IFTHEN/OVERLAY function to do that.

If you're not familiar with DFSORT and DFSORT's ICETOOL, I'd suggest reading through "z/OS DFSORT: Getting Started". It's an excellent tutorial, with lots of examples, that will show you how to use DFSORT, DFSORT's ICETOOL and DFSORT Symbols. You can access it online, along with all of the other DFSORT books, from:

www.ibm.com/servers/storage/support/sof ... tmpub.html

If you need more specific help, tell me the starting position of the 'BE' field in your input records, and whether your VSAM input records are all the same length (fixed length) or can be of different lengths (variable length).
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

gjawalekar
Member
Posts: 3
Joined: Wed Mar 26, 2008 11:58 am
Location: chennai

Post by gjawalekar » Thu Mar 27, 2008 12:59 pm

thanks a lot Frank Yaeger


regards,
Gajanan

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