Contributed by: Doug Rickman, Global Hydrology and Climate Center, MSFC, NASA
This is aimed at beginning and intermediate REXX users.
Comment: The functions which operate on the WPS are very poorly documented. Doing anything with them in the absence of Dick Goran's "REXX Reference Summary Handbook" is difficult at best. The documentation for Object REXX is also modestly better than the default REXX documentation.
This example shows how to change the title of an object called "run.exe" in the directory "G:\SOURCE\VISPROSOURCE\ATLASGEOANALYSIS" to "ATLASGEOANALYSIS2.exe".
/* To change an existing object's title */
/* Notes: */
/* You can not leave spaces in parameters. */
rc=SysCreateObject("WPProgram",,
"run2.exe",,
"G:\SOURCE\VISPROSOURCE\ATLASGEOANALYSIS",,
"TITLE=ATLASGEOANALYSIS2.exe",,
'U')