on 11-12-2007 9:18 PM
Hi,
I have a flat file coming in PI. The structre for the same is
1. Detail record line ocurs n number of time
2.Summary record line occurs only once at the end
I have defined a datatype as follows
<DT>
<Recordset>
<Detail>
All the detail fields
</Detail>
<Summary>
All the summary fields
</Summary>
</Recordset>
</DT>
Now the number of detail record is not know. But there is only one summary record.
In the sender file adapter do we need to configure the keyfield paramter? If the number of detail record is * .
The problem is the input file does not has any key field to parse/identify the detail or sumary record.
Any alternative?
Thanks
Hi Sachin,
The key field Specify the value of the key field for the structure. This entry is mandatory if the key field name is set. Otherwise, the entry is ignored.
check these blog:
/people/venkat.donela/blog/2005/06/08/how-to-send-a-flat-file-with-various-field-lengths-and-variable-substructures-to-xi-30
/people/shabarish.vijayakumar/blog/2006/02/27/content-conversion-the-key-field-problem
Regards,
Sachin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sachin,
Check out this blog..would be helpful..
Let us know if you need more details.
Nilesh
if u don't have any keyField value in the sender file,then don't mention it at all in the FCC parameters.
also have a look at the below blog,even he has unbounded structure and hez not using keyField parameter
/people/michal.krawczyk2/blog/2004/12/15/how-to-send-a-flat-file-with-fixed-lengths-to-xi-30-using-a-central-file-adapter
Thanx
Aamir
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
11 | |
10 | |
9 | |
8 | |
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.