SORT card needed - overwriting within same file

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

Moderators: Frank Yaeger, Moderator Group

Post Reply
goldyroshan
Active Member
Posts: 67
Joined: Thu Apr 05, 2012 1:29 am
Location: WI, USA

SORT card needed - overwriting within same file

Post by goldyroshan » Sat Jan 16, 2016 7:05 pm

I have a requirement where -

if there are spaces in 279th byte

Code: Select all

(279,8)
of my input file, then I would want to overwrite 279th byte with data from some other byte position from the same input file.

Please suggest SORT card for the same.
Logically yours,
:-) GRS :-)

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

Post by William Collins » Sun Jan 17, 2016 5:07 am

IFTHEN=(WHEN=(logicalexpression),OVERLAY=(...)

goldyroshan
Active Member
Posts: 67
Joined: Thu Apr 05, 2012 1:29 am
Location: WI, USA

Post by goldyroshan » Sun Jan 17, 2016 9:30 am

Thanks. It worked.
Logically yours,
:-) GRS :-)

academyindia4

Topic deleted by Admin

Post by academyindia4 » Tue Jan 19, 2016 9:34 am

<< Content deleted By Admin >>

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