Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Tue, 01 Apr 2003 @ 06:33:06 GMT


     
  <Prev Next>   <<First <Prev Next> Last>>  


Subj:   Re: Question: Extract OUTMOD
 
From:   Wayne Moran

Sorry for the late reply. Try these changes to strip the first 2 characters off of each record before the write.

Unfortunately I have no way of testing this.

Change:

struct  in_struct
{
   char  FIELD1                         [2048];
};

to

struct  in_struct
{
   char  FIELD0                         [2];
   char  FIELD1                         [2046];
};

Change:
 Record_Size=*resplen;
 File_Size=Record_Size+1;

to

 Record_Size=*resplen;
 Record_Size=Record_Size-2;
 File_Size=Record_Size+1;

Wayne N. Moran



     
  <Prev Next>   <<First <Prev Next> Last>>  
 
 
 
 
 
 
 
 
  
  Top Home Privacy Feedback  
 
 
Copyright for the TeradataForum (TDATA-L), Manta BlueSky    
Copyright 2016 - All Rights Reserved    
Last Modified: 15 Jun 2023