Most of the WebSphere Application Server - Express scripts are located in the /QIBM/ProdData/WebASE/ASE5/bin directory. The crtplugininst script is located in the /QIBM/ProdData/WebASE/bin directory. These scripts must be run from Qshell. There are several ways to run Qshell commands to ensure the correct version (from the correct directory) is used.
Invoke the script from the CL command line or from an i5/OS CL program. To use this method, run the STRQSH command and specify the fully qualified path name of the script:
STRQSH CMD('/QIBM/ProdData/WebASE/ASE5/bin /script_name parameters')
where script_name is the name of the script and parameters represents the parameters that are passed to the script.
From the Qshell prompt, invoke the fully qualified path name of the script:
/QIBM/ProdData/WebASE/ASE5/bin/script_name parameters
where script_name is the name of the script and parameters represents the parameters that are passed to the script.
From the Qshell prompt, use the cd command to change to the /QIBM/ProdData/WebASE/ASE5/bin directory, and then run the script:
cd /QIBM/ProdData/WebASE/ASE5/bin script_name parameters
You can also update the PATH environment variable to automatically locate the script when you run it. After you update the PATH variable, you can run these scripts from any directory. To update the PATH environment variable, follow these steps:
Note: If this file does not exist, create it in this directory. You can use the EDTF command from an CL command line or use any editor from a workstation. Also note that .profile is the full name of the file. When you start Qshell, it searches for the .profile file, and runs the commands listed in it. You can use the .profile file to set persistent environment variables for your Qshell session.
export PATH=/QIBM/ProdData/WebASE/ASE5/bin:/QIBM/ProdData/WebASE/bin:$PATH