Usage Note 61279: Troubleshooting "ERROR: No sasnk* images were found..." in SAS® 9.4 TS1M3 and later
In SAS 9.4 TS1M3 and later, you might receive the following error message:
This ERROR is surfaced because SAS could not locate any of the SASNK modules within the STEPLIB. The message is surfaced only during the first procedure step, and the job might run to completion with RC=0. However, this message is being surfaced for a reason. Look for some of the following indications that this issue could be problematic:
- The SAS load library has granted Execute but not Read access.
- The SAS load library is not in the STEPLIB concatenation. (It might be in the Link Pack Area (LPA) or in LinkList.)
To identify which issue is causing the message to surface, run the following code in a batch job using the same SAS JCL PROC under the same user ID:
DATA _NULL_;
DID=DOPEN("STEPLIB");
PUT DID=;
MNUM=DNUM(DID);
PUT MNUM=;
DO I = 1 TO MNUM;
MEMNAME=DREAD(DID,I);
IF MEMNAME =: 'SASNK' THEN
PUT MEMNAME=;
END;
RC=DCLOSE(DID);
PUT RC=;
RUN;
If you get the following messages in the SASLOG, the SAS load library is likely defined with Execute but not Read permissions:
NOTE: Argument 1 to function DNUM(0) at line 14 column 12 is invalid.
MNUM=.
ERROR: Invalid DO loop control information, either the INITIAL or TO expression is missing or the BY expression is missing, zero, or invalid.
Also, in the JOBLOG, you will likely see an IEC150I 913-70 message.
If you do not get the above error in the SASLOG and no SASNK modules are listed, then it is likely that the SAS load library is allocated in LinkList or is being loaded from LPA.
Operating System and Release Information
| SAS System | Base SAS | z/OS | 9.4_M3 | | 9.4 TS1M3 | |
| z/OS 64-bit | 9.4_M3 | | 9.4 TS1M3 | |
*
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.
In SAS 9.4 TS1M3 and later, you might see the following message during the initial PROC step within a SAS® program: "ERROR: No sasnk* images were found. Please see the usage note at this URL: http://support.sas.com/kb/55056." This note provides troubleshooting steps.
| Date Modified: | 2017-10-30 14:29:50 |
| Date Created: | 2017-10-23 07:56:40 |