IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Fail to change physical VSAM filename via CEMT SET command


IBM Mainframe Forums -> CICS
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
jacobdng

New User


Joined: 27 Aug 2006
Posts: 51
Location: Taiwan

PostPosted: Fri Jan 20, 2017 12:36 pm
Reply with quote

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
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10872
Location: italy

PostPosted: Fri Jan 20, 2017 3:50 pm
Reply with quote

the info posted is not enough

look at the console log to check for additional messages related to the event
Back to top
View user's profile Send private message
jacobdng

New User


Joined: 27 Aug 2006
Posts: 51
Location: Taiwan

PostPosted: Fri Jan 20, 2017 5:58 pm
Reply with quote

May I ask how to get console log?
Back to top
View user's profile Send private message
Abid Hasan

New User


Joined: 25 Mar 2013
Posts: 88
Location: India

PostPosted: Fri Jan 20, 2017 6:01 pm
Reply with quote

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
View user's profile Send private message
jacobdng

New User


Joined: 27 Aug 2006
Posts: 51
Location: Taiwan

PostPosted: Fri Jan 20, 2017 6:08 pm
Reply with quote

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
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Fri Jan 20, 2017 7:27 pm
Reply with quote

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
View user's profile Send private message
Rohit Umarjikar

Global Moderator


Joined: 21 Sep 2010
Posts: 3048
Location: NYC,USA

PostPosted: Sat Jan 21, 2017 2:01 am
Reply with quote

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
View user's profile Send private message
jacobdng

New User


Joined: 27 Aug 2006
Posts: 51
Location: Taiwan

PostPosted: Mon Jan 23, 2017 8:15 am
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> CICS

 


Similar Topics
Topic Forum Replies
No new posts Access to non cataloged VSAM file JCL & VSAM 18
No new posts Routing command Address SDSF to other... TSO/ISPF 2
No new posts DTL - how to define key with stacked ... TSO/ISPF 3
No new posts LTJ command CA Products 4
No new posts Rotate partition-logical & physic... DB2 0
Search our Forums:

Back to Top