There are three special variables that the language processor can set automatically:
None of these variables has an initial value. You can alter them, just as with any other variable, and the PROCEDURE and DROP instructions affect these variables in the usual way.
Certain other information is always available to a REXX program. This includes the name that the program was called and the source of the program (which is available using the PARSE SOURCE instruction--see page ***). PARSE SOURCE output consists of the string CICS followed by the call type, the name of the exec in uppercase, the name of the file, and library member being run. These are followed by the name by which the program was called and the initial (default) command environment.
In addition, PARSE VERSION (see page ***) makes available the version and date of the language processor code that is running. The built-in functions TRACE and ADDRESS return the current trace setting and environment name, respectively.
Finally, you can obtain the current settings of the NUMERIC function by using the DIGITS, FORM, and FUZZ built-in functions.