DATA Step, Macro, Functions and more

Not able to read SAS library

Reply
Contributor
Posts: 24

Not able to read SAS library

 

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.

                                                                                                        

PROC Star
Posts: 2,231

Re: Not able to read SAS library

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.

 

Contributor
Posts: 24

Re: Not able to read SAS library

Thanks. OK.

Ask a Question
Discussion stats
  • 2 replies
  • 163 views
  • 0 likes
  • 2 in conversation