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 

Status code 12

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


Joined: 23 Jan 2006
Posts: 65
Topics: 29

PostPosted: Wed Oct 22, 2008 7:44 am    Post subject: Status code 12 Reply with quote

Hi all,

I am getting a vsam return code of 12 from the cics READ file command; please let me know what is vsam status code 12 means?


Thanks
Suma
Back to top
View user's profile Send private message
jsharon1248
Intermediate


Joined: 08 Aug 2007
Posts: 291
Topics: 2
Location: Chicago

PostPosted: Wed Oct 22, 2008 8:36 am    Post subject: Reply with quote

Click on the Quick Manuals link at the top of every page in this forum. Then click on the CICS Language Reference link. Scroll down to Appendix A and click on EIB Fields. Then scroll down to the EIBRESP values. Usually the condition name is enough to figure out what your problem is.
Back to top
View user's profile Send private message
Dibakar
Advanced


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

PostPosted: Wed Oct 22, 2008 1:15 pm    Post subject: Reply with quote

suma,

VSAM error code of 12 is file open error but you are not getting that. You got CICS READ error and jsharon1248 has already given reference for it.

Diba.
Back to top
View user's profile Send private message Send e-mail
jsharon1248
Intermediate


Joined: 08 Aug 2007
Posts: 291
Topics: 2
Location: Chicago

PostPosted: Wed Oct 22, 2008 3:14 pm    Post subject: Reply with quote

Dibakar

Excellent point. I didn't notice the conflicting terminology in the op's original post. VSAM file status values are indeed completely different from CICS EIB Resp values. Thanks for clarifying that point.
Back to top
View user's profile Send private message
dbzTHEdinosauer
Supermod


Joined: 20 Oct 2006
Posts: 1411
Topics: 26
Location: germany

PostPosted: Thu Oct 23, 2008 2:39 am    Post subject: Reply with quote

in a cics program you are never going to get the 'VSAM File-STATUS' code, because you can not define the FD, thus you have no reference to the file-status clause.

As well as the fact that the VSAM I/O functions are performed via CICS API's and not normal I/O service routines.

and I know,
that anyone who says that they have a vsam file status of ? in a cics module,
does not know what they are talking about.
This is a misuse of words exactly like the misuse of 'JCL'. After a while we ignore it,
knowing the OP has little or no experience.
_________________
Dick Brenholtz
American living in Varel, Germany
Back to top
View user's profile Send private message
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