need rpg code to add two values and dsp in the same screen in result field

300 pts.
Tags:
AS 400
THERE ARE TWO FILED CALLED “FILED A” and “FIELD B” IN DSP FILE IF I GIVEN VALUES FOR BOTH FIELDS   i.e,, FIELD A = 5 AND FIELD B =6 >>>>>>>>>  I NEED TO GET ANSWER “11” IN “RESULT” FIELD                                                 DSPFIL FILEDA            +           FIELDB              RESULT      5                                  6                        11         I need RPG programe for this….

Software/Hardware used:
as-400

Answer Wiki

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

Thank you for visiting ITKE.

We are happy to help you with solving specific IT questions, but need as
much information as possible to do so. Let us know about the problem you
are trying to solve, how you are approaching it and what work you’ve
done so far, and we can help guide you in the right direction.

Discuss This Question: 4  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
  • TomLiotta
    How much of it have you coded? This is almost certainly a homework type of question, and we can't supply work for it. We can only review work that you have already done and guide you around obstacles. Tom
    125,585 pointsBadges:
    report
  • ITKBHARAT
    Hi Suryap It seems you are new to RPG.But you are at rite place and we'll like to help out... But as Tom said you shoul atleast try.post your code.....don't affraid...e all are learning. If you make mistakes..then thats also the part of learning...
    120 pointsBadges:
    report
  • Sureyz
    You Shuld learn basic things in rpg. and try yourself..
    2,455 pointsBadges:
    report
  • ToddN2000
    If you are trying to teach yourself programming without the benefit of going to a school it will be a long tough battle. Best place to start is the programmer reference manuals found on the IBM site. Do some poking around it's amazing what you'll find.
    11,890 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