How to write a Simple Rexx Program?
All Rexx Program requires this statement /*REXX*/ in the first line.
Ofcourse, this is just a comment. But it is necessary. You can write anything on the comment line but remember, somewhere REXX should be there.
So here is our Hello World Program:
/*REXX*/
Say 'Hello World'
Exit
Save this code under a member in a PDS. Open the PDS, just to the left of the member, type 'EX'. Then you see your 'Hello World' program executed with the display.
No comments:
Post a Comment