MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

SAS - ERROR: WRITE ACCESS TO MEMBER IS DENIED

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Application Programming
View previous topic :: View next topic  
Author Message
Dibakar
Advanced


Joined: 02 Dec 2002
Posts: 700
Topics: 63
Location: USA

PostPosted: Fri May 25, 2018 3:33 pm    Post subject: SAS - ERROR: WRITE ACCESS TO MEMBER IS DENIED Reply with quote

Following SAS code is working fine -

Code:
LIBNAME mysasds 'DB.SAS.DATASET'; 
                                         
data mysasds.wtclub;   


But when I allocate the dataset in SAS JCL step then I get the error
Quote:
ERROR: WRITE ACCESS TO MEMBER MYSASDS.WTCLUB.DATA IS DENIED.


JCL:
Code:
//SAS      EXEC SAS                                 
//SYSIN    DD DISP=SHR,DSN=DB.SAS(MYSASPGM)   
//SAS9.MYSASDS DD DISP=SHR,DSN=DB.SAS.DATASET 
//SAS9.SASLIST DD SYSOUT=*                           
//SAS9.SASLOG  DD SYSOUT=*       


SAS code:
Code:
data mysasds.wtclub;                   


Alternative SAS Code:
Code:
LIBNAME mysasds BASE;                   
                                       
data mysasds.wtclub;     

_________________
Regards,
Diba
Back to top
View user's profile Send private message Send e-mail
Dibakar
Advanced


Joined: 02 Dec 2002
Posts: 700
Topics: 63
Location: USA

PostPosted: Mon May 28, 2018 11:54 am    Post subject: Reply with quote

Looks like SAS need exclusive access to data library. Changing to DISP=OLD solved the problem.
_________________
Regards,
Diba
Back to top
View user's profile Send private message Send e-mail
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12376
Topics: 75
Location: San Jose

PostPosted: Mon May 28, 2018 12:13 pm    Post subject: Reply with quote

Dibakar,

Thanks for the update and the solution.
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Application Programming All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group