Problem Note 46134: Applying hot fixes for SASĀ® 9.3 and later in a z/OS operating environment fails if the TSO DELETE command is authorized
If the TSO DELETE command is authorized at your site, then applying a hot fix to SAS 9.3 or 9.4 under z/OS fails with the following error:
An error occurred during processing:
There is a problem that seems to be related to the system running the install:
Error removing existing control dataset high-level-qualifier.hotfix.CNTL
In this message,
high-level-qualifier is the high-level qualifier that is used for your SAS installation, and
hotfix is the hot-fix number.
An Installation Tool (IT) log is also created. The logs are located in the directory /SASHOME/InstallMisc/InstallLogs/.
These log files are named using the following convention:
IT_yyyy-mm-dd-hh.mm.ss.log
The following error appears in the IT log:
tso stderr:
del 'high-level-qualifier.hotfix-id.INSTALL.CNTL'
FOMF0139I Authorized commands are not supported
Choose one of two possible ways to circumvent this problem, depending on your system environment. The first option, enabling the use of authorized commands, is the better alternative because it will remain in place and be used when you apply subsequent hot fixes.
Enable the Use of Authorized Commands
- Starting with z/OS release 1.12, the operating system includes the tsocmd utility, which can execute authorized commands. For earlier z/OS releases, download this utility from the IBM z/OS UNIX Tools web page. Note: You might need to click Skip to main content at the top of the web page.
-
Once you have the utility available on your system, create a link called tsocmd that points to the utility. Create the link in the SAS home directory (this means that the directory must exist before you invoke setup.rexx). For example, if you have the utility installed at /usr/local/bin/mods/tsocmd, you would execute the following command in OMVS to create the link:
ln -s /usr/local/bin/mods/tsocmd SAS-home-directory/tsocmd
- Execute sasdm.rexx again.
Manually Allocate the CNTL File
- Manually allocate the CNTL file high-level-qualifier.hotfix.INSTALL.CNTL, where high-level-qualifier is the high-level qualifier that is used for your SAS installation, and hotfix is the appropriate hot-fix number.
This file has the following data control block (DCB) characteristics and space:
LRECL=80; BLKSIZE=6160; DSORG=PO; CYLS=10,2; Directory blocks=20
Note that in SAS 9.3, you can install multiple hot fixes in a single invocation of the hot-fix utility. You need only one CNTL data set. And the hot-fix ID is the one that is the lowest in alphanumeric order. For example, say that you have the following hot fixes in the directory that you specify to the hot-fix utility:
- F98002 for Base SAS®
- F98004 for Base SAS
- F98009 for Base SAS
- F14001 for SAS/CONNECT®
- G01001 for SAS threaded kernel
In this scenario, you would name your CNTL data set high-level-qualifier.F14001.INSTALL.CNTL, because that is the first hot fix in alphanumeric order. All five hot fixes would be installed in one invocation of the hot-fix utility.
- Set an environment variable to tell the hot-fix process to pre-allocate these files, which bypasses the DELETE command:
Note: Enter the code exactly as shown above, because the command is case-sensitive.
You need to issue this command each time you go into an OMVS, rlogin, or putty session to apply a hot fix. When you exit the session, this setting is lost.
- Invoke sasdm.rexx again.
Operating System and Release Information
SAS System | Base SAS | z/OS | 9.3 | 9.4_M4 | | 9.4 TS1M4 |
*
For software releases that are not yet generally available, the Fixed
Release is the software release in which the problem is planned to be
fixed.
Type: | Problem Note |
Priority: | high |
Date Modified: | 2014-10-16 18:48:30 |
Date Created: | 2012-03-26 14:28:08 |