View previous topic :: View next topic
|
Author |
Message |
pradeepkit Warnings : 1 New User
Joined: 25 Jun 2008 Posts: 60 Location: chennai
|
|
|
|
Hi,
Could you please let me know the reason for getting the file error 15.
When I googled I got the explation like 'too many indexed files open'
Please some one can explain me what does it means?
Thanks for your valuable time. |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
it would be nice if You posted the whole message ( or sequence of them - IE... IDC... ) You received
unless it is a cobol issue and it should have been posted in COBOL forum
after having looked Yourself at the cobol manuals
( for which there is a link at the top of the page ) |
|
Back to top |
|
|
Bill Woodger
Moderator Emeritus
Joined: 09 Mar 2011 Posts: 7309 Location: Inside the Matrix
|
|
|
|
Look up the full message(s) in a(some) manual(s).
If you still have a problem, put together a more detailed post for us, with full information about all the information you have. |
|
Back to top |
|
|
pradeepkit Warnings : 1 New User
Joined: 25 Jun 2008 Posts: 60 Location: chennai
|
|
|
|
I am reading the VSAM file in CICS.
using below syntaxes.
EXEC CICS READ FILE('FPTXPK0') INTO(TAX-RECORD)
LENGTH(WS-LEN) RIDFLD(WS-KEY)
RESP(WS-RESP)
END-EXEC.
where key structure is.
ID - 3 bytes
filler - 1byte
date - 8 byte
filler - 1 byte
I am using ID as the key for reading the file.
but when I tried to display the RESP value it has 15.
I tried to google and only thing whcih I could find was that it means 'too many indexed files open'
So i have come here to seek the help.
Please let me know if there is some more information required. |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
|
|
|
|
Are you talking about MF COBOL, I don't do much VSAM but I've not seen this error code with Enterprise COBOL. |
|
Back to top |
|
|
Bill Woodger
Moderator Emeritus
Joined: 09 Mar 2011 Posts: 7309 Location: Inside the Matrix
|
|
|
|
As Anuj has pointed out, you have just googled, found some message for number 15 of some status, added the whole lot up and got to 2. Well, we do binary.
Dig into the CICS manual, look up the READ especially the RESP and see how it suggests you find out how to interpret the response code. It won't suggest "do a google search and get the answer by a quick look at the results page". |
|
Back to top |
|
|
pradeepkit Warnings : 1 New User
Joined: 25 Jun 2008 Posts: 60 Location: chennai
|
|
|
|
Thanks all..
I will do some more homework... and still have doubt then will look forward for your help.
:-) |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8697 Location: Dubuque, Iowa, USA
|
|
|
|
Suggestion: there is a link to manuals at the top of this page. Click on it, find the CICS Language Reference manual, and read Appendix A until you discover what a 15 in the response variable actually means. You can then go to the section on the READ in that very same manual and it will tell you much useful information.
Personally, with the IBM manuals available here as well as at the IBM web site, I am flabbergasted that you even CONSIDERED using Google on this response code! |
|
Back to top |
|
|
|