Free software training Videos

Free software training Videos
https://www.youtube.com/user/VLRTraining

List Of Best WebSites

Saturday 5 January 2013

SIMPLE PROGRAM IN RPG4

STEP1:
Type wrkmbrpdm in command line
step 2:
press f6 for creating new program(STRSEU)
step3:
type program name,type,text in seu
as400 rpg program
-------------------------------

Step4
step4:step4: declare one variables a and b
Varibles must be declared in DECLARATION SECTION

Type D and press F4

Write variable name
Give DeclarationType      is S
as400 rpgle program

--------------------------------------------

declare number2 and result varibles
In calculation specification claculate result of number1+number2 using EVAL operator
using DSPLY operation display the result



 

No comments:

Post a Comment