You do not compile or bind REXX programs.
On OS/2, your application file must have a .cmd extension. After creation, you can run your application directly from the operating system command prompt.
An OS/2 REXX program must contain a comment that begins in the first column of the first line, to distinguish it from a batch command:
/* Any comment will do. */
REXX sample programs can be found in the directory %DB2PATH%\samples\rexx. To run the sample REXX program updat, enter:
updat
For further information on REXX and DB2, refer to the chapter, "Programming in REXX", in the Application Development Guide.