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 code 19 in CICS

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


Joined: 04 Oct 2003
Posts: 68
Topics: 25

PostPosted: Sun Jul 26, 2009 3:46 pm    Post subject: VSAM error code 19 in CICS Reply with quote

Hi,

I have been trying to use a VSAM file (KSDS file) in CICS. I have mentioned the correct file in FCT. When I am trying to perform an action on the map ,behind which the CICS program runs to BROWSE the VSAM file, the return code is 19.

Can you please advise as to where I am going wrong?
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


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

PostPosted: Mon Jul 27, 2009 10:53 am    Post subject: Reply with quote

cobcurious,

What is the Access mode for the vsam file? Status code of 19 means that your open mode or access mode is wrong

Kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
cobcurious
Beginner


Joined: 04 Oct 2003
Posts: 68
Topics: 25

PostPosted: Tue Jul 28, 2009 12:12 am    Post subject: Reply with quote

Hi Kolusu,

Let me check and return back to you soon

-Cobcurious
Back to top
View user's profile Send private message
cobcurious
Beginner


Joined: 04 Oct 2003
Posts: 68
Topics: 25

PostPosted: Tue Jul 28, 2009 2:27 am    Post subject: Reply with quote

Hi Kolusu,

Sorry for sounding ignorant, I tried checking the access mode for the VSAM file. I have mentioned the access mode as VSAM and given appropriate read/write access. I using EXEC CICS READ function to browse the files.

Is there anything that I need to check?

-Cobcurious
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


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

PostPosted: Tue Jul 28, 2009 11:28 am    Post subject: Reply with quote

cobcurious wrote:
Hi Kolusu,

Sorry for sounding ignorant, I tried checking the access mode for the VSAM file. I have mentioned the access mode as VSAM and given appropriate read/write access. I using EXEC CICS READ function to browse the files.

Is there anything that I need to check?

-Cobcurious


huh? what is access mode vsam? Question Access mode is sequential/random/dynamic.

read this for a better understanding of vsam processing

http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/IGY3PG10/1.10?

Kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
cobcurious
Beginner


Joined: 04 Oct 2003
Posts: 68
Topics: 25

PostPosted: Wed Jul 29, 2009 1:14 am    Post subject: Reply with quote

Hi Kolusu,

Please ignore "access mode". It is specific to our system installation.

We are trying to read a VSAM file on CICS. How do you specify the access mode here on CICS?
Back to top
View user's profile Send private message
cobcurious
Beginner


Joined: 04 Oct 2003
Posts: 68
Topics: 25

PostPosted: Tue Aug 04, 2009 5:35 am    Post subject: Reply with quote

Hi Kolusu,

The issue was because of the incorrect entry in the PCT table. The name of the program which in the PCT table was that of the program which was suppose to write to the VSAM file and I was assuming that I had added the program to read from the VSAM file.

When I changed the PCT entry, the program is now working fine. Thanks for your help anyways.
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