on 10-03-2007 11:27 AM
hello,
1. When do we generally go for FCC?
2. Is it possible to assign field seperator without FCC on the reciever side file adapter?
3. how do I add timestamp as well as DATE to the target file?
thnks
venkat
Hi venkat
1. When do we generally go for FCC?
we can do the FCC at sender side as well as at the receiver side.
Sender side: we do the FCC at the sender side only if we are getting a flat file from the sender, and so that it can be understand by the XI,because XI can understand only the XML.
Receiver side:we do the FCC at the receiver side only if the receiver requires the flat file.
2. Is it possible to assign field seperator without FCC on the reciever side file adapter?
no, it is not possible.
3. how do I add timestamp as well as DATE to the target file?
if you want to add date and time in the target file for this you have to select the parameter
File Construction Mode* : AddTimeStamp
in the processing parameters of the file adapter(Receiver).
Thanks
Rinku
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
1. When do we generally go for FCC?
a.When your flat file is coming with some delimitors...you need to convert it into XI understandable XML format.
b.When at receiver side you want to create flat file with specific spaces,commas.....XI-XML is converted into it using FCC.
2. Is it possible to assign field seperator without FCC on the reciever side file adapter?
a.FCC is not possible because anyways you are going to get XML if..without FCC.It will not generate any flat file.
3. how do I add timestamp as well as DATE to the target file?
a. there is an option Add Timestamp to the file. use it for doing this.
Regards,
AKshay.
Reward points if find useful.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
1. Can you elaborate more related to FCC on reciever side?
>>
2. the requirement is to create a file on the receiver end
>> you have to use FCC and delimiters for recevier.
3. I can add timestamp.. I need to add Date as well as Timestamp
>>> you can go for variable substitution to add date in filename.....
Regards,
Akshay.
Akshay, this is my reciever side strcture
I hav to create a text file with pipe delimitter so that even if no value comes from sender side, pipe symbols with spaces must be displayed
<?xml version="1.0" encoding="UTF-8"?>
<ns0:MT_CUST_PY_MN xmlns:ns0="http://">
<root>
<Account_Num>1</Account_Num>
<Addr_Display>adsfsaddf</Addr_Display>
<Address1>venkat</Address1>
<Address2>a</Address2>
<City>blore</City>
<State>asia</State>
<Zip>34567</Zip>
<Country>blore</Country>
<ADDR_Code>errefd</ADDR_Code>
<Status>kjdsd</Status>
<Primary>2</Primary>
</root>
venkat
in receiver adapter no need to mention occurrences
as well mentioning fieldNames is not required..
<i>does specifying both fieldcontect formating and field seperator will do?</i>
-->
fieldSeparator is required to identify ur fields seperatly..
well fieldContentFormatting - i have not used it.. but it is supposed to use when u want to retain white spaces.. give a try for it
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.