View previous topic :: View next topic
|
Author |
Message |
jacobdng
New User
Joined: 27 Aug 2006 Posts: 51 Location: Taiwan
|
|
|
|
I need to change a CICS VSAM filename.
I used CEMT SET FI command to change DSN name.
But, I encountered RESP(IOERR) RESP2(0) error when trying to open & enable the CICS VSAM filename.
Please help.
Code: |
DFHAP1900 01/20/2017 14:40:00 CI07S271 END8 CICSADMR CEMT SET FILE(PEVKNDAY) NOWAIT DSNAME(PEST.PEVXNDAY.KSDS) RESP(NORMAL)
RESP2(0).
DFHFC0200 01/20/2017 14:40:13 CI07S271 RLS file PEVKNDAY has been allocated to data set PEST.PEVXNDAY.KSDS. Module DFHFCRO.
DFHFC0201 01/20/2017 14:40:13 CI07S271 RLS file PEVKNDAY has been deallocated. Module DFHFCRO.
DFHAP1900 01/20/2017 14:40:13 CI07S271 END8 CICSADMR CEMT SET FILE(PEVKNDAY) NOWAIT ENABLESTATUS(ENABLED) OPENSTATUS(OPEN)
RESP(IOERR) RESP2(0). |
|
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10891 Location: italy
|
|
|
|
the info posted is not enough
look at the console log to check for additional messages related to the event |
|
Back to top |
|
|
jacobdng
New User
Joined: 27 Aug 2006 Posts: 51 Location: Taiwan
|
|
|
|
May I ask how to get console log? |
|
Back to top |
|
|
Abid Hasan
New User
Joined: 25 Mar 2013 Posts: 88 Location: India
|
|
|
|
Hello,
As Mr. Sorichetti has pointed:
enrico-sorichetti wrote: |
the info posted is not enough
... |
Though, a few pointers, check if:
a. The VSAM DS is empty
b. The new VSAM dataset which is being allocated, Exists physically on the mainframe
c. Do a small test, see if you're able to 'CLO/ENA' it, this doesn't attempt to 'OPEN' the DS to CICS, it simple enables the DS for usage in CICS region and the first access for an IO opens the DS to OPEN, so ideally it should give you a response '0'
d. Lastly, prior attempting to open the DS, do an INQuire on the logical name of the dataset to check if the correct physical DS's name has been assigned
Adding, hopefully prior the DSN modification, the DS was de-allocated (CLO/DIS) in CICS. |
|
Back to top |
|
|
jacobdng
New User
Joined: 27 Aug 2006 Posts: 51 Location: Taiwan
|
|
|
|
I will try to read the new VSAM file in order to make sure if it is readable.
It's weekend now, so I can't work with it until next Monday.
The new VSAM file was created by FileAids G.F. function(Copy & Edit).
Unless there is misspelling in CEMT SET FI DSN.....
Thanks a lot.
Jacob |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8700 Location: Dubuque, Iowa, USA
|
|
|
|
SDSF command LOG gives you access to the console log -- but not all sites allow applications programmers to look at it.
Did you not see in your posted messages where the dataset was deallocated before you attempted to open it? The IOERR is because you attempted to open a data set that is not allocated. You may need to talk to your site support group about WHY it was deallocated. |
|
Back to top |
|
|
Rohit Umarjikar
Global Moderator
Joined: 21 Sep 2010 Posts: 3077 Location: NYC,USA
|
|
|
|
This is a responsibility of your Site support , so really you should not change anything yourself, unless You are one of them.
In any case , see if you follow the thread.
ibmmainframes.com/about38157.html |
|
Back to top |
|
|
jacobdng
New User
Joined: 27 Aug 2006 Posts: 51 Location: Taiwan
|
|
|
|
I have presented to my leader the scenario which Rohit Umarjikar suggested.
It is very likely that the very CICS VSAM file is defined via JCL.
Thanks for all your consultancy.
Jacob |
|
Back to top |
|
|
|