Friday, August 5, 2016

Starting with Rexx: 'Hello World'

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

Featured Post

REXX Skeleton: Submitting jobs through Rexx

Submitting jobs through REXX and reading the spool through REXX gives us immense potential to automate many manual activities in mainframes....