How can I make a numeric field left justified in report?

2,410 pts.
Tags:
Is there any edtcode to make the numeric field as left justified? I dont want to convert it to character. Any suggestion?

Software/Hardware used:
AS400
ASKED: October 1, 2012  12:24 PM

Answer Wiki

Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Discuss This Question: 3  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • philpl1jb
    Is there any edtcode to make the numeric field as left justified?   No.    I dont want to convert it to character. Any suggestion?  No... except for the type of solution you've already rejected.  Use the %TRIM(%EDITC ...) in the C spec (for free format) to populate a character field and use that field in the O spec's or Printer file.
    48,565 pointsBadges:
    report
  • philpl1jb
    Sorry, way ahead of myself.  You haven't told us how you generate the report.
    48,565 pointsBadges:
    report
  • TomLiotta
    I dont want to convert it to character.   That's contradictory. If you put it into a report and left-justify, it will be character.   The "left-justify" implies suppressing leading zeros. As soon as you do that, you must convert to characters. And if you want to keep leading zeros, then there is no need to "left-justify".   Please show examples of values, and show how you want those examples to print.   Tom
    125,585 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following