PQ83956: applyPTF.sh does not perform post-install steps correctly when an alias of cp command exists. | |||||||||||||||||||||||||||||||||||||||||||
![]() |
|||||||||||||||||||||||||||||||||||||||||||
![]() APAR status Closed as program error. Error description The WebSphere for z/OS Post-Installer does not perform some post-install steps if the userid invoking the applyPTF.sh script has defined an alias or shell function for the /bin/cp utility which inserts the -i flag on the utility invocation. Normally the /bin/cp utility will replace the target data set with the source data set. If the -i flag is included, cp will prompt the user to request permission to overlay the target data set if it exists. When the command is invoked interactively, the file name is written to the terminal, and the user must answer Y to cause the existing file to be overlaid. When cp -i runs within a shell script, the prompt is written to stdout but cp assumes the answer is "no". This is not acceptable for the post-installer because it must replace pre-existing files with the new ones.Local fix Ensure that the userid running the installPTF.sh shell script does not have any shell functions or shell aliases defined.Problem summary **************************************************************** * USERS AFFECTED: All users of WebSphere Application Server * * V5.0 for z/OS * **************************************************************** * PROBLEM DESCRIPTION: Customers who set aliases on the UNIX * * shell commands may interfere with the * * proper functioning of post install * * scripts. * **************************************************************** * RECOMMENDATION: * **************************************************************** Customers who set aliases on the UNIX shell commands may interfere with the proper functioning of post install scripts. If a customer sets up aliases in the user profile of the userid used to start the server proc, post install shell scripts may be affected in a number of ways, including script failure.Problem conclusion During the post install shell session, temporarily disable UNIX shell aliases to prevent any interference to the post install shell scripts. APAR PQ83956 is associated with SERVICE LEVEL W502002 of WebSphere Application Server V5.0 for z/OS.Temporary fix Comments
APAR is sysrouted FROM one or more of the following: APAR is sysrouted TO one or more of the following: Modules/Macros
Publications Referenced
|
Document Information |
Current web document: swg1PQ83956.html
Product categories: Software > Application Servers >
Distributed Application & Web Servers > WebSphere Application
Server for z/OS
Operating system(s):
Software version: 500
Software edition:
Reference #: PQ83956
IBM Group: Software Group
Modified date: Mar 3, 2004
(C) Copyright IBM Corporation 2000, 2009. All Rights Reserved.