300 pts.
 need rpg code to add two values and dsp in the same screen in result field
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
ASKED: June 21, 2012  6:48 AM
UPDATED: June 25, 2012  5:23 AM

Answer Wiki:
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.
Last Wiki Answer Submitted:  May 14, 2013  1:20 am  by  Chris Leonard   2,595 pts.
All Answer Wiki Contributors:  Chris Leonard   2,595 pts. , SURYAP   300 pts.
To see all answers submitted to the Answer Wiki: View Answer History.


Discuss This Question:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _


 

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

 107,755 pts.

 

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 pts.

 

You Shuld learn basic things in rpg. and try yourself..

 1,435 pts.

 

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.

 3,890 pts.