on 08-13-2015 11:23 AM
Hello Experts,
I'm converting following target structure to a file (FCC).
My file format should be:
Iwas able to acheive everything except this: I want the Header1=>BaiscHeaderBlk of 2nd Records to be on the same line as Row12=>EndTxtBlk of 1st Records.
In short in FCC, is there a way i can add blank as the end separator for Row12 ?
Hi Aman,
Can you try giving endSeparator as '0' in your FCC and check the outcome.
Regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Aman,
In this specific requirement, you should not use endSeparator for Records structure, i.e., you should not use Records.endSeparator in FCC.
Reason : This will then not put a carriage return after the end-point of first Records structure which is Row12=>EndTxtBlk of 1st Records structure and in turn will meet with the requirement.
Note : Please do not forget to put fieldSeparator, which is mandatory in this case.
Kind Regards,
Souvik
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Aman,
it seems some wat tricky
but i can suggest you modify the structure which u shared like:
keep Row12 subelemets also in Header1 node.
if that not suppose to do, you can create the different structure like below:
<MT_XXX>
<rec>
<Header>
<Customerref>
<records>
<basichead>
<paytype>
<endappl>
<endTxtblk>
and add one more mapping as multimaping
in that mapping use source structure as which u posted and target use above one.
BR,
Maheswarareddy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.