The System Product Interpreter (REXX) Examples and Techniques
Original Publication Date: 1984-Feb-29
Included in the Prior Art Database: 2007-Mar-30
Software Patent Institute
Brodock, G.: AUTHOR [+2]
G. Brodock Edited by C. Morse
Washington Systems Center Gaithersburg, Maryland
The System Product Interpreter (REXX)
Examples and Techniques
Edited by C. Morse
The information contained in this document has not been submitted to any formal IBM test and is distributed on an "as is" basis without any
warranty either expressed or implied. The use of this information or the implementation of any of these techniques is a customer responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. While each item may have been reviewed by IBM for accuracy in a specific situation, there is no guarantee that the same or similar results w i l l be obtained elsewhere. Customers attempting to adapt these techniques to their own environments do so at their own risk.
In this document, any references made to an IBM licensed program are not intended to state or imply that only IBM' s licensed program may be used; any Functionally equivalent program may be used instead.
It is possible that this material may contain reference to, or information about, IBM products (machines and programs), programming, or services that are not announced in your country. Such references or information must not be construed to mean that IBM intends to announce such IBM products, programming, or services in your country.
Publications are not stocked at the address given below; requests for IBM publications should be made to your IBM representative or to the IBM branch off ice serving your locality.
A form for reader's comments is provided at the back of this publication. If the form has been removed, comments may be addressed to: IBM Washington Systems Center, VM Systems Support, 18100 Frederick Pike, Gaithersburg, MD 20879.
IBM may use or distribute any of the information you supply in any way it believes appropriate without incurring any obligation whatever. You may, of course, continue to use the information you supply.
Q Copyright International Business Machines Corporation 1984
This document is intehded to acquaint the reader with various techniques
for writing EXECS and XEDIT MACROS in the REstructured extended executor
language (REXX) provided by the System Product Interpreter in VM/SP
Release 3. Exaniples of both EXECS and XEDITMACROS are provided that dem-
oristrate the structured programming constructs (IF/THEN/ELSE, SELECT, DO/WHILE), built-in functions, recursive execution, and many other fea-
tbres of the REXX language. Also illustrated are various ways to improve
the readability of REXX EXECS including indentation styles and methods of
providing comments. One of the samples is an EXEC for interactively exe-
cuting REXX stat...