Posted: Tue Apr 12, 2005 10:17 am Post subject: padding output fields with space / '0'
Apprentice
Joined: 31 Dec 2001 Posts: 42
Hi guys,
i have a simple flow where i read XML msgs from a Q and write them out as MRM fixed lengths fields ... e.g. if the MRM field is 13 char long and the incoming XML field is 3 char long i want the MRM to pad the outgoing field with spaces ...
I added a CWF to my message and set the Padding Character to SPACE. but this does NOT help me much ... is there another setting that i'm supposed to do?
did you use a cobol copybook structure to create the MRM?
I would check the following:
take any element in your message definition file, go to properties TAB.
Physical Properties>CWF1>Local element> Physical type = Fixed length string, should check Length Count radio button and it should be an integer value.
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