View previous topic :: View next topic |
Author |
Message |
cobcurious Beginner
Joined: 04 Oct 2003 Posts: 68 Topics: 25
|
Posted: Sun Jul 26, 2009 3:46 pm Post subject: VSAM error code 19 in CICS |
|
|
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 |
|
|
kolusu Site Admin
Joined: 26 Nov 2002 Posts: 12375 Topics: 75 Location: San Jose
|
Posted: Mon Jul 27, 2009 10:53 am Post subject: |
|
|
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 |
|
|
cobcurious Beginner
Joined: 04 Oct 2003 Posts: 68 Topics: 25
|
Posted: Tue Jul 28, 2009 12:12 am Post subject: |
|
|
Hi Kolusu,
Let me check and return back to you soon
-Cobcurious |
|
Back to top |
|
|
cobcurious Beginner
Joined: 04 Oct 2003 Posts: 68 Topics: 25
|
Posted: Tue Jul 28, 2009 2:27 am Post subject: |
|
|
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 |
|
|
kolusu Site Admin
Joined: 26 Nov 2002 Posts: 12375 Topics: 75 Location: San Jose
|
Posted: Tue Jul 28, 2009 11:28 am Post subject: |
|
|
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? 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 |
|
|
cobcurious Beginner
Joined: 04 Oct 2003 Posts: 68 Topics: 25
|
Posted: Wed Jul 29, 2009 1:14 am Post subject: |
|
|
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 |
|
|
cobcurious Beginner
Joined: 04 Oct 2003 Posts: 68 Topics: 25
|
Posted: Tue Aug 04, 2009 5:35 am Post subject: |
|
|
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 |
|
|
|
|