Delete a profile
To delete a profile of WebSphere Application Server, run the wasprofile script specifying the -delete option from the Qshell command line. To run the script, follow the steps below.
Note: IBM recommends that you use this script to remove a profile. Do not manually delete a profile.
- On the OS/400 command line, run the STRQSH (Start Qshell) command.
- On the Qshell command line, use the cd command to change to the directory that contains the script:
cd install_root/binwhere install_root is /QIBM/ProdData/WebSphere/AppServer/V6/Base for WebSphere Application Server and WebSphere Application Server Express, and /QIBM/ProdData/WebSphere/AppServer/V6/ND for WebSphere Application Server Network Deployment.
- Run the wasprofile script:
wasprofile -delete -profileName profilewhere profile is the name of the profile you want to delete.
For more information on the wasprofile script and additional parameters, see wasprofile command.
Example
In this example, the profile testinst is deleted.
wasprofile -delete -profileName testinst