Product SiteDocumentation Site

8.20. SysDumpVariables


>>-SysDumpVariables-+------------+-----------------------------><
                    +-(--name--)-+

Dumps all variables in the current scope either to the specified file filename (new data is appended) or to STDOUT if you omit filename. The format of the data is, with one variable per line:
Name=MYVAR, Value="This is the content of MYVAR"
Parameter:
filename
The name of the file to which variables are appended. The dump is written to STDOUT if you omit this parameter.
Return codes:
0
Dump completed successfully.
-1
Dump failed.

Example 8.6. RexxUtil - SysDumpvariables

Call SysDumpVariables "MyVars.Lst" /* append vars to file */
Call SysDumpVariables              /* list vars on STDOUT */