Problem Note 45059: The message "ERROR: SVC99 error rc=4, reason=02D6" occurs in SASĀ® 9.2 when the UNIT value is not valid
When a dynamic allocation within SAS, for example in a LIBNAME or FILENAME statement, has a dsname and volser, MVS selects a unit value based on a defined IBM default selection process, as described in IBM APARS II06423 and OW21591. When the "default" DASD unit value selected by MVS is not consistent with the DASD unit value defined for the VOLSER, the following ERROR occurs:
ERROR: SVC99 error rc=4, reason=02D6
For example, if disk ABC123 is defined to MVS as UNIT=3390, and the system default is UNIT=SYSDA, the following statement would cause this error because the system would try to allocate ABC123 as UNIT=SYSDA. Although UNIT=SYSDA and UNIT=3380 might be valid at the site, both would be invalid for ABC123.
LIBNAME LIB01 '.TEST.SN45059.LIB.SASLIB' DISP=(OLD)
VOLSER=ABC123;
LIBNAME LIB01 LIST;
Add the following statements to your
high-level-qualifier.TKMVSENV data set after you install the hot fix.
set UNITOLD=UCBDEVICETYPE
set UNITOLDR=YES
Click the Hot Fix tab in this note to access the hot fix for this issue.
Operating System and Release Information
SAS System | Base SAS | z/OS | 9.21 | 9.21 | 9.2 TS2M0 | 9.4 TS1M0 |
*
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: | medium |
Date Modified: | 2012-03-22 17:12:37 |
Date Created: | 2011-12-06 15:05:19 |