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 

VSAM Error 152

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Data Management
View previous topic :: View next topic  
Author Message
yadav2005
Intermediate


Joined: 10 Jan 2005
Posts: 348
Topics: 144

PostPosted: Wed Jul 30, 2008 7:04 am    Post subject: VSAM Error 152 Reply with quote

Members,

I am trying to just Print the records in spool from a VSAM file and i am ending up in the error 152 as below and as per the description of error:
152 98 REWRITE on file not opened I-O.

Code:

IDCAMS  SYSTEM SERVICES                                           
                                                                               
  PRINT INFILE(KSDS) CHAR                                                       
IDC3300I  ERROR OPENING A.B.C                               
IDC3351I ** VSAM OPEN RETURN CODE IS 152                                       
IDC0005I NUMBER OF RECORDS PROCESSED WAS 0                                     
IDC3003I FUNCTION TERMINATED. CONDITION CODE IS 12                             
                                                                               
IDC0002I IDCAMS PROCESSING COMPLETE. MAXIMUM CONDITION CODE WAS 12             


Can anybody help me how to solve this error.
Back to top
View user's profile Send private message
vkphani
Intermediate


Joined: 05 Sep 2003
Posts: 483
Topics: 48

PostPosted: Wed Jul 30, 2008 8:11 am    Post subject: Reply with quote

yadav2005,

RC 152 on error code IDC3351I means -

Quote:

152 Security verification failed; the password specified in the access-method control block for a specified level of access doesn't match the password in the catalog for that level of access; user is not authorized to access this file.


I think you need to reset the password and try running the job again.

For more info. chk this link.
http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/IEA2M660/11.551?SHELF=&DT=20050804102553&CASE=
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Data Management 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