ICETOOL SPLIT RECORDS

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

Moderators: Frank Yaeger, Moderator Group

Post Reply
MJ4444
Member
Posts: 1
Joined: Mon Nov 07, 2016 6:26 am

ICETOOL SPLIT RECORDS

Post by MJ4444 » Mon Nov 07, 2016 6:31 am

Hi

I need to copy a file (FB) of records to a new file (VB)

and at the same time

split existing records to create a new record on every instance of x'15'

A working example / sample of this would be welcome

Thanks

MJ

magesh_j
Member
Posts: 16
Joined: Wed Aug 31, 2016 8:32 am

Post by magesh_j » Thu Nov 17, 2016 10:03 pm

You can use OUTFIL FTOV to convert fixed to variable.

Code: Select all

outfil include=(your cond to split),VTOF,FNAMES=OUT2
outfil include=(your cond to split),VTOF,FNAMES=OUT1

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