Running the user setup script during startup

To allow a user to perform any initialization that is specific to their environment, Transaction Server supports running an optional user setup script file during startup. For example, the script file may contain commands for the specific operating system, such as setting environment variables. To enable this functionality, create a user setup script file with a specific file name and save it in a specific directory. If the file exists, it is called to perform the optional initialization. If the file does not exist, it does not cause an error during startup. The user setup script file names and directories for the supported operating systems are:
  • For the Windows operating system: install_directory\shared\v327\pfs\ITS\cmd\userenv.bat
  • For AIX® or Linux®: install_directory/shared/v327/pfs/ITS/cmd/userenv.sh
A user setup script file is not provided by the component. It must be created by the user.

Running the script when starting Transaction Server as a Windows operating system service

The user setup script is also called when Transaction Server is running as a Windows operating system service. When starting the component as a service, any commands in the user setup script file that are not set commands are ignored. Also, ensure that all of the set commands in the file are specified in lower case. For example:
set CLASSPATH=C:\myconfigfiles\ITS\properties;%CLASSPATH%
set CLASSPATH=C:\myuserexits\myuserexit.jar;%CLASSPATH%