Selects a specified Reality release or instance, by setting the necessary environment variables (REALROOT, PATH, etc.).
. realroot {[release || path]} {instance}
set {[release || path]} {instance} ; . realroot
Note: You can also use this syntax in the Korn shell.
set argv="{[release || path]} {instance}" ; . realroot
realroot {[release || path]} {instance}
realroot –q
instance A single digit in the range 1 to 9 that identifies the required instance of the current version of Reality (the base instance).
release The version number of
the required Reality release (without the initial letter). For example, to
select Reality V12.0, specify 12.0
. If you wish, you can
include the instance number as part of the release; for example,
12.0_1
selects instance 1 of release V12.0.
path The path to the required
Reality release or instance. For example, to select instance 1 of Reality V12.0
on a Windows host, you might
specify c:\realman\12.0_1
.
Note that Reality instances are not supported on versions of Reality earlier than V12.0.
–q Displays the currently selected instance. For example, on Windows:
realroot -q
Running Reality at C:\realman\12.0_3
Many Reality host utilities operate on the selected release or instance.
. realroot 1
When run in a UNIX Korn Shell, this command selects instance 1 of the live release.
set 12.0 1 ; . realroot
When run in a UNIX Bourne Shell, this command selects instance 1 of Reality V12.0.
. set argv=”c:\realman\12.0_1” ; . realroot
When run in a UNIX C Shell, this command selects instance 1 of Reality V12.0.
realroot c:\realman\12.0 1
When run at the Windows command prompt, this command selects instance 1 of Reality V12.0.
realroot
When run at the Windows command prompt, this command selects the base instance of the live release.