Skip to Content
author's profile photo Former Member
Former Member

Field alignment in fixed length file

Hi All,

Is their any way by which we can align field values either to right or left in reciever fixed length file.

My scenario is Proxy --> File.

Regards

Amol

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

4 Answers

  • Posted on Oct 12, 2010 at 08:13 AM

    for right alignment, you can check the length of filed first. I hope you have Fixed Length of field.

    Now Concatenate the Source Value with SPACE (Constant) for Alignment.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 12, 2010 at 09:00 AM

    Hi Amol,

    For Right Alignment, If the lengths of the fields are fixed, then check the file content. So, that we can go ahead and do the content conversion to achieve the requirement.

    Thanks,

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 12, 2010 at 09:50 AM

    thanks...

    Can't this be done at adaptor level? though we can achieve it as you suggested.

    Regrads

    Amol

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Aug 24, 2011 at 08:41 AM

    Added spaces in mapping for field alignments.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.