Modify Stage
Posted: Thu Oct 12, 2006 1:30 am
Hello All
Im trying to Trim a Varchar type field in Modify Stage
with the following specification
M_No = string_trim[""](M_No)
here my M_No is Varchar type field
but it is throwing the error msg at Run time
main_program: Error parsing modify adapter: Error in binding: Parsing parameters """" for conversion "string=string_trim[NULL,end,begin](string)": Only one character, or NULL expected, got:
Expected destination field selector, got: ")"; input:
M_No = string_trim[""](M_No)
;
I have tried with the following options
M_No= string_trim[" ", begin,end](M_No)
M_No= string_trim[" ", begin](M_No)
M_No= string_trim[" ", end](M_No)
M_No varchar(255)=string_trim(M_No)
But no one is working
Can Any one help me
Im trying to Trim a Varchar type field in Modify Stage
with the following specification
M_No = string_trim[""](M_No)
here my M_No is Varchar type field
but it is throwing the error msg at Run time
main_program: Error parsing modify adapter: Error in binding: Parsing parameters """" for conversion "string=string_trim[NULL,end,begin](string)": Only one character, or NULL expected, got:
Expected destination field selector, got: ")"; input:
M_No = string_trim[""](M_No)
;
I have tried with the following options
M_No= string_trim[" ", begin,end](M_No)
M_No= string_trim[" ", begin](M_No)
M_No= string_trim[" ", end](M_No)
M_No varchar(255)=string_trim(M_No)
But no one is working
Can Any one help me