cancel
Showing results for 
Search instead for 
Did you mean: 

fcc in qoutes

Former Member
0 Kudos

i have an issue in FCC how to write fcc for the requirement where as we are using field seperator but how to do it for quotes

Each field in the file will be embedded with double quote and separated by a comma.

Accepted Solutions (1)

Accepted Solutions (1)

Shabarish_Nair
Active Contributor
0 Kudos

if you are using the sender adapter;

in your FCC use comma as the field separator.

then in the mapping, write a UDF to remove the quotes from each field if required

if you are using the receiver adapter;

in your FCC use comma as the field separator.

in the mapping, write a UDF to add the quotes from each field as required

Former Member
0 Kudos

hi my scenerio is idoc to file and target side i need quotes for every field if u have any udf for that just send it to me thanks for reply

Shabarish_Nair
Active Contributor
0 Kudos

in this case u will have to use the UDF for every field mapping.

if your input is a

The UDF will be

String out = "";

out = "\"" + a + "\"";

return out;

Former Member
0 Kudos

Hi vijay thanks for the reply and i am working on same company in hyd and nice to meat u

Former Member
0 Kudos

i have 100 fields so for every filed i have to creat a new udf and palce there

Former Member
0 Kudos

no..use the same UDF in ur mapping for all the other fileds...

Answers (0)