Archives of the TeradataForum
Message Posted: Tue, 01 Apr 2003 @ 06:33:06 GMT
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
|