2008-11-17

Tutorial : Hello World AS400 by me

Tutorial 1

Hello World

To start the tutorial we will start by creating a simple Hello World program. Input program such as the image below.

*************** Beginning of data **********************************************

C 'HALLO YADI?' DSPLY

C SETON LR

C RETURN

****************** End of data *************************************************

Describe The Program

DSPLY function is used as a function that displays the message / variables to the screen.

SETON function of the program showed that the line is the final part of the program. SETON LR function and the Return is a function that should be there in each program when the program is created.

No comments: