Parallel padding nulls for empty space !!
Posted: Fri Mar 02, 2007 3:07 pm
Hi,
I have a change capture job where i'm comparing data from a parallel job output to a server job output. These data are supposed to match. Every other filed in the data matches perfectly but I have a problem with this one field whose data looks like :
0000050100805721
3437 1
0000059500560060
W 02008522
914880 914880
0000019400905240
7200 4132
00038 00038
1195 1195
0000071100110551
50123 51727
1607 1607
CHAIN04807997
0978478 0978478
The problem here is the column has a length of 24 according to the METADATA but most of them have empty spaces filling up the gap.
I think the parallel job is filling the empty spaces with a NULL or any other character, How can I avoid this.
I am trying to use APT_STRING_PADCHAR but it dosent seem to solve my problem. the value i am using for the ENV variable is "0x20" (space).
Is there any other approach for this , or am I missing something here .... plz help
I have a change capture job where i'm comparing data from a parallel job output to a server job output. These data are supposed to match. Every other filed in the data matches perfectly but I have a problem with this one field whose data looks like :
0000050100805721
3437 1
0000059500560060
W 02008522
914880 914880
0000019400905240
7200 4132
00038 00038
1195 1195
0000071100110551
50123 51727
1607 1607
CHAIN04807997
0978478 0978478
The problem here is the column has a length of 24 according to the METADATA but most of them have empty spaces filling up the gap.
I think the parallel job is filling the empty spaces with a NULL or any other character, How can I avoid this.
I am trying to use APT_STRING_PADCHAR but it dosent seem to solve my problem. the value i am using for the ENV variable is "0x20" (space).
Is there any other approach for this , or am I missing something here .... plz help