I want to use a modify stage (because I don't want to use transformer) to split a single fixed field in two fields.
Like specifications I have to extract from the input string two strings to the output
record_type:string[1] = substring(record_data,1,1) ;
record_detail:string[255] = substring(record_data,2,255) ;
And I have this message:
Error parsing modify adapter: Error in binding:
Parsing parameters "" for conversion "string=substring [0,0](string)": Expected integer, got: <eof>
Expected destination field selector, got: ")"; input:
record_type:string[1] = substring(record_data,1,1)
Something wrong with the syntax or the modify stage is not capable to accomplish this kind of transformation?
modify function substring()
Moderators: chulett, rschirm, roy
modify function substring()
Thanks,
Emma
Emma