Free software training Videos

Free software training Videos

List Of Best WebSites

Thursday, 29 November 2012

simple program in rpgle

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

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