Running on UNIX
You can run Enrichment in scripts, from the command line, from within your programs, or in any other manner that you would use a standard UNIX application.
The easiest way to run Enrichment is through the ../Enrichment/bin/swvrexe script. With swvrexe, you pass Enrichment arguments on the swvrexe command line just as you would if you were executing Enrichment directly. The script does the following:
- Sets up PATH to point to Enrichment
- Establishes SWVR_LIB
- Establishes PBSSTTY
- Sets up a library path to point to callable library functions
Specify run-time arguments using this syntax:
sweaver -Arg1 -Arg2 -Arg3
where ArgN is an Enrichment run-time argument. Each argument must be separated from the preceding argument by a space and must begin with a dash (-). For a complete listing of run-time arguments, see Run-Time Arguments.
If you do not use swvrexe to run Enrichment, you must add the directory that contains the Enrichment executable to your path so that you can run it directly from the command line.
For more information, refer to “Paging space and virtual memory in Operating system and device management” from your AIX manual for more information.