BookmarkSubscribeRSS Feed
pbad
Obsidian | Level 7

 

Dear team,

 

 One of the user is submitting following codes in SAS 9.4 M2 SAS environment, however he is getting the error as mentioned below:-

 Apprantly it looks like dataset si corrupted. Please advise.

 

 

Codes:-

 

libname KREDAFD 'G78.SAS.KREDAFD.SASLIB.V1' disp=old; 
proc datasets library=KREDAFD;                        
run; 

 

Error on zos:-    

 

************************************************************************************************************

WARNING: The library data set G78.SAS.KREDAFD.SASLIB.V1 is truncated and   
         some member or directory information may be missing.              
NOTE: The expected number of library blocks is 2458884, but the actual     
      number of blocks is 1834980.                                         
The DASD space currently allocated to the library data set is large enough 
      to contain 1834980 blocks.                                           
ERROR: Because the DLTRUNCHK option is in effect, the library will not be  
       processed.                                                          
NOTE: Data set G78.SAS.KREDAFD.SASLIB.V1 has been deallocated.             
1    libname KREDAFD 'G78.SAS.KREDAFD.SASLIB.V1' disp=old;                 
ERROR: Encountered error when the V9 engine tried to determine if KREDAFD  
       has a registered secured library object location.                   
ERROR: Library KREDAFD is not in a valid format for access method SASE7.   
ERROR: Error in the LIBNAME statement.                                     
2    proc datasets library=KREDAFD;                                        
ERROR: Libref KREDAFD is not assigned.                                     
3    run;        

****************************************************

 

error when we are connecting zos from windows :-

 

NOTE: Remote signon to MVSW complete.

WARNING: The Base SAS Software product with which CONNECT is associated will be expiring soon,

and is currently in warning mode to indicate this upcoming expiration. Please run PROC

SETINIT to obtain more information on your warning period.

4 LIBNAME MVSW SLIBREF=WORK SERVER=MVSW;

NOTE: Libref MVSW was successfully assigned as follows:

Engine: REMOTE

Physical Name: SYS18044.T055007.RA000.BA2821.R0641676

5

6 rsubmit mvsw;

NOTE: Remote submit to MVSW commencing.

WARNING: The library data set G78.SAS.KREDAFD.SASLIB.V1 is truncated and some member or

directory information may be missing.

NOTE: The expected number of library blocks is 2458884, but the actual number of blocks is

1834980.

The DASD space currently allocated to the library data set is large enough to contain 1834980

blocks.

ERROR: Because the DLTRUNCHK option is in effect, the library will not be processed.

NOTE: Data set G78.SAS.KREDAFD.SASLIB.V1 has been deallocated.

1 libname KREDAFD 'G78.SAS.KREDAFD.SASLIB.V1' disp=old;

ERROR: Encountered error when the V9 engine tried to determine if KREDAFD has a registered

secured library object location.

ERROR: Library KREDAFD is not in a valid format for access method SASE7.

ERROR: Error in the LIBNAME statement.

2 proc datasets library=KREDAFD;

ERROR: Libref KREDAFD is not assigned.

3 run;

NOTE: Statements not processed because of errors noted above.

NOTE: The PROCEDURE DATASETS used 0.01 CPU seconds and 26146K.

                                                                                                        

2 REPLIES 2
ChrisNZ
Tourmaline | Level 20

It looks like the size assigned to that library has been shrunk (by the system admin).

So when sas wants to read the library, it can't access a space where it expects data.

See your mainframe admin, or your sas representative, to discuss this message.

 

pbad
Obsidian | Level 7

Thanks. OK.

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

Register now!

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 2 replies
  • 1777 views
  • 0 likes
  • 2 in conversation