Posted: Sat Dec 08, 2007 11:06 am Post subject: How to assign length to make SWIFT message length to 10000
Newbie
Joined: 08 Dec 2007 Posts: 3
Hi,
Currently I am using TDS message set to generate SWIFT like message structure having Header,envelope and MT103 & MT202 message(starting from({4.
In my message set the requirement is to make the total count of message to 32000.
EX:
LENGTH('{1:.....}{2:....}{4:
32A:INR32,000
48A:EFGHNAA
.
.
.
-}.....spacescount upto 32000') will be 32000
In single TDS1 message set how can i do this.
I have tried one way,like while mapping the corresponding fields I have counted the length of the field which is getting mapped..
ex:for element 48:EFGHNAA
count=5+length('EFGHNAA') where 5 denotes the spaces used for <CR><LF> and 48:
ANd the assignspace(32000-count) to the last field
I cant use BITSTREAM function because of some date format and datetime format conversion..
So please help me how to do it?how to assign spaces to make the whole message to become 32000 char in length .
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum