BuildSOM is a REXX program that will create OS/2 WPS objects. Currently, the program supports only program and folder objects. To build your WPS objects, create a file that contains the definitions for the objects and run BuildSOM against that file.
The syntax is: BUILDSOM.CMD defnfile
BuildSOM provides four primary value-added facilities over an equivalent REXX program:
- BuildSOM will automatically handle the nesting of objects within folders. (For you SysCreateObject programmers, the location is derived).
- The code will verify the existence of program executables and the working directory for program objects before creating the WPS objects. Additionally, those executables in the path do not have to be fully qualified. BuildSOM will search the path to find the full pathname of the program.
- Since BuildSOM is a two-pass program, ALL folder and program objects are verified before any objects are created. This makes cleanup a lot easier than debugging a series of REXX SysCreateObject calls.
- The defintions file is syntactically easier than a REXX program with the equivalent statements.
Add new comment