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

Moderators: Frank Yaeger, Moderator Group

Post Reply


Post by raj » Wed Apr 19, 2006 2:43 pm

Hi Guyz...
i have two files File A, File B.
In File A in position 23,24, if i have a value '55', then in File B in position 30 i have to insert a value "P".
If there is no value in position 23,24 of File A, then a value of "S", is to be inserted in Position 30 of File B.

Can we do this using DFsort???If yes please provide me with exact syntax.

Many Thanks in advance.


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

Post by Frank Yaeger » Wed Apr 19, 2006 9:21 pm

It's not clear to me exactly what you're trying to do. Please show an example of the records in input FileA and in input FileB and the expected output records, and explain the example. Give the RECFM and LRECL of input FileA and input FileB, and the starting position, length and format of all relevant fields.
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


Topic deleted by Admin

Post by academyindia4 » Fri Jan 15, 2016 9:13 pm

<< Content deleted By Admin >>

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