Use the ctgenvvar script if the Gateway daemon is to be started via the USS command line for example, in a test environment.
The ctgenvvar script can be executed alone or referenced by the ctgstart script to set the variables. You can create the ctgenvvar script by editing the supplied ctgenvvarsamp script, and then copying or renaming to ctgenvvar, see Configuration parameter reference.
Because the files under <install_path>/bin are managed by SMP/E, this area is regarded as read-only. Therefore, the customized ctgenvvar script is likely to be located under a user-writable HFS path.
export CTGENVVAR=/u/ctgusr/ctg910cfg/ctgenvvar
If neither of these locations contains a script, ctgstart will assume that the environment variables are already in place, and attempt to start the Gateway daemon.
The target script itself must have the '+x' executable file attribute set at the appropriate level for the current user.
<config_path>/ctgenvvar
where <config_path> is
the HFS location of the customized configuration script.By default, ctgenvvar searches for ctgstart, so you must ensure that <install_path>/bin is in the path for the current environment. You can edit ctgenvvar to define where ctgstart is installed.