Add a negative value to a physical file record in AS/400

2720 pts.
Tags:
AS/400
Physical File
How do I insert (add) a negative value or number to physical file record?

Answer Wiki

Thanks. We'll let you know when a new response is added.

What are you using to insert the record?

A RPG/COBOL program?

SQL?

DBU?

DFU?

If it is interactive, use the ‘-‘ key on your 10 key pad.

If a program you can multiple the value * -1

Discuss This Question: 8  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.
  • philpl1jb
    On some screens, the sign must be placed after the digits as   15.12-
    54,020 pointsBadges:
    report
  • Sureyz
    when we r using UPDDTA command .. how to add a sign..?? and how in Display file field ?? Surey..
    2,720 pointsBadges:
    report
  • Splat
    Philp11jb has the right of it.
    9,730 pointsBadges:
    report
  • philpl1jb
    Splat is that a pun I detect?  
    54,020 pointsBadges:
    report
  • philpl1jb
    in UPDDTA 15.12- in Display files there are edit codes that don't show / allow negatives.
    54,020 pointsBadges:
    report
  • Splat
    Could be.
    9,730 pointsBadges:
    report
  • TomLiotta
    {Field-exit} might be needed, it might be a Zoned field that's displayed without a separate sign, or other additional possibilities. Without knowing the actual problem, there's no way to know an appropriate answer.   Tom
    125,585 pointsBadges:
    report
  • Splat
    Editing specified in the field definition could also cause a negative value not to display as such.
    9,730 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.

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

Following

Share this item with your network: