cancel
Showing results for 
Search instead for 
Did you mean: 

question on FCC(file content conversion)

Former Member
0 Kudos

My input structure is

Header>

<FileFormat>ewr</FileFormat>

<Category>rfsd</Category>

<Period>sdf</Period>

<Entity>sfd</Entity>

<date>sf</date>

<LineItems>

<ICM_MatchingGroup>sf</ICM_MatchingGroup>

<ICM_MatchingAccount>sf</ICM_MatchingAccount>

<Partner>fs</Partner>

<Amount>s</Amount>

<Currency>sf</Currency>

</LineItems>

</Header>

<CompanyCode>

<CompanyCodeValue>sf</CompanyCodeValue>

</CompanyCode>

My reqirement is :company code should not fetced to output structure

IN FCC if m putting Header,LineItems,CompanyCode all the thing s in record structure .its fetching all the values in comma separeted structure.but i dont want to display company code in output structure.so please let me know how i will do this one

Accepted Solutions (1)

Accepted Solutions (1)

santhosh_kumarv
Active Contributor
0 Kudos

Hi,

1. Do not map the Company code to the target structure. By this way you dont need an FCC to remove it in the receiver side.

2. Or use the Following FCC.

CompanyCode.fieldFixedLengths = 0

CompanyCode.fixedLengthTooShortHandling = Cut

CompanyCode.endSeparator = '0'

Thanks

SaNv...

Former Member
0 Kudos

Thanx Santosh.

Its working correctly

Answers (1)

Answers (1)

former_member192295
Active Contributor
0 Kudos

Hi,

We can do two ways either through UDF or FCC command. In UDF we can hide the value if we no need meanwhile in FCC take corresponding value length as 'o'. It will sort out easily.

CompanyCode.fieldFixedLengths = 0

CompanyCode.fixedLengthTooShortHandling = Cut

CompanyCode.endSeparator = '0'