Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Fail to change physical VSAM filename via CEMT SET command

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CICS
View previous topic :: :: View next topic  
Author Message
jacobdng

New User


Joined: 27 Aug 2006
Posts: 49
Location: Taiwan

PostPosted: Fri Jan 20, 2017 12:36 pm    Post subject: Fail to change physical VSAM filename via CEMT SET command
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10375
Location: italy

PostPosted: Fri Jan 20, 2017 3:50 pm    Post subject: Reply to: Fail to change physical VSAM filename via CEMT SET command
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: 49
Location: Taiwan

PostPosted: Fri Jan 20, 2017 5:58 pm    Post subject:
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: 86
Location: India

PostPosted: Fri Jan 20, 2017 6:01 pm    Post subject: Re: Reply to: Fail to change physical VSAM filename via CEMT SET command
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: 49
Location: Taiwan

PostPosted: Fri Jan 20, 2017 6:08 pm    Post subject:
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: 8201
Location: Dubuque, Iowa, USA

PostPosted: Fri Jan 20, 2017 7:27 pm    Post subject:
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

Senior Member


Joined: 21 Sep 2010
Posts: 1827
Location: NY,USA

PostPosted: Sat Jan 21, 2017 2:01 am    Post subject:
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.
http://ibmmainframes.com/about38157.html
Back to top
View user's profile Send private message
jacobdng

New User


Joined: 27 Aug 2006
Posts: 49
Location: Taiwan

PostPosted: Mon Jan 23, 2017 8:15 am    Post subject:
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    IBMMAINFRAMES.com Support Forums -> CICS All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Change NULL indicator in UNLOAD utility Khadhar Basha DB2 2 Fri Dec 15, 2017 3:01 pm
No new posts ISSUE IN copying Sequential file reco... thesumitk JCL & VSAM 2 Wed Dec 13, 2017 3:07 pm
No new posts Extract record for change in combinat... Trinadh DFSORT/ICETOOL 6 Thu Nov 23, 2017 3:32 pm
No new posts Compare VSAM files using DFSORT pshongal DFSORT/ICETOOL 5 Thu Nov 23, 2017 10:24 am
No new posts OUTREC with ALter Command scorp_rahul23 DFSORT/ICETOOL 1 Wed Nov 22, 2017 3:10 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us