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.
Subscribe to:
Post Comments (Atom)
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....
-
Abend S013 SYSTEM COMPLETION CODE=013 REASON CODE=00000018 AN OPEN WAS ISSUED FOR A PARTITIONED DATASET. THE SPECIFIED MEMBER NAME WAS N...
-
A word is defined as a blank delimited set of characters within a string in REXX. The characters in a word can be alpha, numeric, alphanume...
-
String functions interrogate, compare, and manipulate character strings of data. Some of the built-in function are listed below: COPIES...
No comments:
Post a Comment