how to declare outrec statement for VB recformat?



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

how to declare outrec statement for VB recformat?

Postby raghuraman » Wed Oct 15, 2008 3:27 pm

//SYSIN DD *                                   
       OPTION COPY,VLSHRT                           
       INCLUDE COND=(22,07,CH,EQ,C'H190072')   
       OUTREC FIELDS=(1,4,22,20) 
/*                   


for this declaration i am getting the below error

ICE218A 6 13 BYTE VARIABLE RECORD IS SHORTER THAN 28 BYTE MINIMUM FOR field
raghuraman
 
Posts: 1
Joined: Wed Oct 15, 2008 3:21 pm
Has thanked: 0 time
Been thanked: 0 time

Re: how to declare outrec statement for VB recformat?

Postby Frank Yaeger » Wed Oct 15, 2008 9:08 pm

These DFSORT statements would handle your short VB records:

//SYSIN    DD    *                             
  OPTION COPY,VLSCMP                           
  INCLUDE COND=(22,07,CH,EQ,C'H190072')       
  OUTREC IFTHEN=(WHEN=INIT,BUILD=(1,4,22,20)) 
/*
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
User avatar
Frank Yaeger
Global moderator
 
Posts: 1079
Joined: Sat Jun 09, 2007 8:44 pm
Has thanked: 0 time
Been thanked: 15 times


Return to DFSORT/ICETOOL/ICEGENER

 


  • Related topics
    Replies
    Views
    Last post