Need solution by using OUTFIL OUTREC options



IBM's flagship sort product DFSORT for sorting, merging, copying, data manipulation and reporting. Includes ICETOOL and ICEGENER

Re: Need solution by using OUTFIL OUTREC options

Postby BillyBoyo » Thu Dec 05, 2013 12:59 pm

VTOF does not belong in IFTHEN,

VTOF is only available on OUTFIL, so cannot be in IFTHEN anyway, as IFTHEN is available for INREC and OUTREC.

SORT FIELDS=COPY                                                 
     OUTFIL VTOF,
            IFTHEN=(WHEN=INIT,                                     
              BUILD=(1:7,10,21:7,2,23:10,2,25:13,4,31:10X,51:C'X')),
            IFTHEN=(WHEN=INIT,                                     
              OVERLAY=(31:21,8,Y4W,ADDDAYS,+10,TOGREG=Y4T))
BillyBoyo
Global moderator
 
Posts: 3804
Joined: Tue Jan 25, 2011 12:02 am
Has thanked: 22 times
Been thanked: 265 times

Previous

Return to DFSORT/ICETOOL/ICEGENER

 


  • Related topics
    Replies
    Views
    Last post