Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8451

Re: Right Justification in File Content Conversion

$
0
0

Hi Srinath

 

AFAIK, there is no setting in FCC to achieve this. You can do this instead in the Message Mapping step by doing a right justify on that target fields.

 

You can search for plenty of solutions on the internet to perform a right justify and include it in a UDF.

 

Below is an example of a UDF of execution type single values with single input. It right justifies the String based on a total length of 15. You can change the field length according to your requirement.

return String.format("%15s", input);

 

Rgds

Eng Swee


Viewing all articles
Browse latest Browse all 8451

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>