REXX Support

Print Topic  Return to Overview  Previous Topic  Next Topic 

REXX is a powerful file and text processing language developed by IBM, and available on many platforms. REXX is an ideal extension to the TCC batch language, especially if you need advanced string processing capabilities.

 

The REXX language is not built into TCC, and must be obtained separately through (free) add-on REXX software, such as Open Object REXX (http://www.oorexx.org/) or Regina REXX (http://regina-rexx.sourceforge.net/).

 

TCC automatically recognizes the presence of a REXX interpreter on your system. When TCC loads, it asks Windows to locate specific REXX libraries associated with Open Object REXX or Regina REXX. Specifically, it looks for REGINA.DLL, WREXX32.DLL, RXREXX.DLL, REXX.DLL, or REXXAPI.DLL. If a suitable library is found, TCC checks to see if you are running a .REX or .REXX file, or if the first two characters on the first line of a .CMD file are [/*], the beginning of a REXX comment. If either of these tests succeeds, TCC passes the file to your REXX interpreter for processing.

 

When you send a command from a REXX program back to TCC to be executed (for example, if you execute a DIR command within a REXX script), the REXX software must use the correct address for TCC. TCC uses the address CMD.

 

For details on communication between REXX and TCC, or for more information on any aspect of REXX, see your REXX documentation.

 

See also: the @REXX, @PERL and @RUBY functions.

Topic "rexxsupport.htm" last edited 2/3/2008. ©2008  JP Software, Inc.
Keywords: REXX,@REXX