You can configure Qshell to run WebSphere Application Server Network Deployment for i5/OS scripts.
The scripts must be run from Qshell. To ensure that you use the correct version and directory, run QShell commands using one of the following methods:
app_server_root/bin/script_name parameterswhere script_name is the name of the script and parameters represents the parameters that are passed to the script.
STRQSH CMD('app_server_root/bin/script_name parameters')where script_name is the name of the script and parameters represents the parameters that are passed to the script.
cd app_server_root/bin script_name parameterswhere script_name is the name of the script, and parameters represents the parameters that are passed to the script.
If this file does not exist, create it in this directory. You can use the EDTF command from an i5/OS 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=app_server_root/bin:$PATH
The updates to .profile do not take effect until you restart Qshell (if you had a session open) or source .profile (command: ./home/user_profile_name/.profile)
To
change the path for a single Qshell session instead of changing the default
path for all Qshell sessions, run the export commands shown in the
last step during the Qshell session, but do not edit the .profile.