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

How to Modify the DSN name of the VSAM file usine CEMT


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

New User


Joined: 27 Jul 2005
Posts: 35
Location: Chennai

PostPosted: Tue Feb 17, 2009 2:46 pm
Reply with quote

Hi,

I have a CICS online file

INQ FI(XXXXXX)
STATUS: RESULTS - OVERTYPE TO MODIFY
Fil(XXXXXX ) Vsa Ope Ena Rea Bro Sha
Dsn( XXXXX.DB.TORO.TEST1

I need to modify the DSN name alon to poin to a diffent file name ....Please let me know hou to arrive at tha
Back to top
View user's profile Send private message
Garry Carroll

Senior Member


Joined: 08 May 2006
Posts: 1193
Location: Dublin, Ireland

PostPosted: Tue Feb 17, 2009 2:55 pm
Reply with quote

I have done this by first issuing CEMT S FIL(xxxx) CLO DIS. Next, clear the DSN value and overtype with the new DSN. Now, issue CEMT S FIL(xxxx) OPE ENA and you should have what you want, I believe.

Garry.
Back to top
View user's profile Send private message
Abi

New User


Joined: 27 Jul 2005
Posts: 35
Location: Chennai

PostPosted: Tue Feb 17, 2009 3:00 pm
Reply with quote

I tried that ,

But on pressing enter the DSN name changes back to the original file name .It is
Back to top
View user's profile Send private message
Abi

New User


Joined: 27 Jul 2005
Posts: 35
Location: Chennai

PostPosted: Tue Feb 17, 2009 3:03 pm
Reply with quote

I gave CEMT S FIL(xxxx) CLO DIS.
then cleared out the old file name & gave the new file .
Then gave CEMT S FIL(xxxx) OPE ENA

On giving the above command the dsn file name changes back to the old file .
Back to top
View user's profile Send private message
Garry Carroll

Senior Member


Joined: 08 May 2006
Posts: 1193
Location: Dublin, Ireland

PostPosted: Tue Feb 17, 2009 3:14 pm
Reply with quote

I've just retried this here and the DSN value changes to the new name OK.

Are your datasets allocated in JCL? Mine are dynamically allocated via RDO definitions.

Garry.
Back to top
View user's profile Send private message
Abi

New User


Joined: 27 Jul 2005
Posts: 35
Location: Chennai

PostPosted: Tue Feb 17, 2009 3:55 pm
Reply with quote

I allocated the file using fileaid option
Back to top
View user's profile Send private message
Garry Carroll

Senior Member


Joined: 08 May 2006
Posts: 1193
Location: Dublin, Ireland

PostPosted: Tue Feb 17, 2009 5:19 pm
Reply with quote

Quote:
I allocated the file using fileaid option


No,you misunderstand. I don't care how you created the file, I was asking how the CICS region has it allocated. If the ddname and dsn are in the CICS JCL, you can't change it. I don't have VSAM files defined in the regions's JCL, just in the RDO definitions.

Garry.
Back to top
View user's profile Send private message
Earl Haigh

Active User


Joined: 25 Jul 2006
Posts: 475

PostPosted: Tue Feb 17, 2009 7:26 pm
Reply with quote

Abi,

Could be your CICS system doesn't allow for what Gary is suggesting
using CEMT.

However, you should be able to change using the CEDA transaction, but that is normally reserved for CICS Systems Support.

Have you tried calling them ?
Back to top
View user's profile Send private message
Bill O'Boyle

CICS Moderator


Joined: 14 Jan 2008
Posts: 2501
Location: Atlanta, Georgia, USA

PostPosted: Sat Feb 21, 2009 2:58 am
Reply with quote

Unfortunately, when a file is defined directly to the CICS startup JCL deck, as opposed to an RDO/FCT entry, then you cannot alter the DSN associated with this file-name (DD name).

Regards,
Back to top
View user's profile Send private message
Pradip kumar Mohanty

New User


Joined: 16 Sep 2007
Posts: 33
Location: India

PostPosted: Mon Feb 23, 2009 8:58 pm
Reply with quote

And you need a warm start atleast. So get your CICS admin involved.
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 How to split large record length file... DFSORT/ICETOOL 7
No new posts Extracting Variable decimal numbers f... DFSORT/ICETOOL 17
No new posts SFTP Issue - destination file record ... All Other Mainframe Topics 2
No new posts Access to non cataloged VSAM file JCL & VSAM 18
No new posts Need help for File Aid JCL to extract... Compuware & Other Tools 23
Search our Forums:

Back to Top