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
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
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…
You Shuld learn basic things in rpg. and try yourself..
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.