Page 2 of 2

Re: copying VB File to FB File

PostPosted: Thu Jan 24, 2013 11:24 pm
by nikesh_rai
same error.. :)

ICE201I H RECORD TYPE IS V - DATA STARTS IN POSITION 5                         
ICE805I 1 JOBNAME: D393990B , STEPNAME: STEP001                                 
ICE802I 0 BLOCKSET     TECHNIQUE IN CONTROL                                     
ICE143I 0 BLOCKSET     COPY  TECHNIQUE SELECTED                                 
ICE250I 0 VISIT http://www.ibm.com/storage/dfsort FOR DFSORT PAPERS, EXAMPLES AN
ICE000I 1 - CONTROL STATEMENTS FOR 5694-A01, Z/OS DFSORT V1R12 - 04:51 ON FRI JA
             OPTION COPY                                                       
             OUTFIL FNAMES=FBOUT,VTOF,OUTREC=(5,1000)                           
ICE201I H RECORD TYPE IS V - DATA STARTS IN POSITION 5                         
ICE027A 9 END OF FBOUT    FIELD BEYOND MAXIMUM RECORD LENGTH                   
ICE751I 0 C5-K76982 C6-K90026 C7-K82419 C8-K67572 E9-K60824 E7-K79990           
ICE052I 3 END OF DFSORT

Re: copying VB File to FB File

PostPosted: Fri Jan 25, 2013 12:22 am
by skolusu
nikesh_rai wrote:nope.. not working..

//SYSIN    DD *                               
   OPTION COPY                               
   OUTFIL FNAMES=SORTOUT,VTOF,BUILD=(1,1000) 
/*                                           


getting error

ICE027A 9 END OF SORTOUT  FIELD BEYOND MAXIMUM RECORD LENGTH                   


input file have record length of 714


Your input LRECL is 714 and you are trying to build 1000 byte file? If you wanted a 1000 byte file then you need to pad it with spaces from byte 711 on wards.

Assuming that your intention is to create a FB file from a VB file , use the following control cards
//SYSIN    DD *                   
  SORT FIELDS=COPY                 
  OUTFIL VTOF,BUILD=(5,710)         
//*


If you want a 1000 byte FB file from 714 byte VB file then use the following control cards.

//SYSIN    DD *                   
  SORT FIELDS=COPY                 
  OUTFIL VTOF,BUILD=(5,710,1000:X)         
//*


If none of these work , then please show us the 3.4 INFO listing of the dataset you want to convert to FB and we will show you the control cards needed to convert to FB.

Re: copying VB File to FB File

PostPosted: Fri Jan 25, 2013 11:05 am
by nikesh_rai
its working now.. , Kolusu... thanks a lot.. :)