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
 
How to Modify the DSN name of the VSAM file usine CEMT

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CICS
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    Post subject: How to Modify the DSN name of the VSAM file usine CEMT
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: 1002
Location: Dublin, Ireland / Edinburgh, Scotland

PostPosted: Tue Feb 17, 2009 2:55 pm    Post subject:
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    Post subject:
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    Post subject:
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: 1002
Location: Dublin, Ireland / Edinburgh, Scotland

PostPosted: Tue Feb 17, 2009 3:14 pm    Post subject:
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    Post subject:
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: 1002
Location: Dublin, Ireland / Edinburgh, Scotland

PostPosted: Tue Feb 17, 2009 5:19 pm    Post subject:
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    Post subject:
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: 2504
Location: Atlanta, Georgia, USA

PostPosted: Sat Feb 21, 2009 2:58 am    Post subject: Reply to: How to Modify the DSN name of the VSAM file usine
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    Post subject:
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    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 ISSUE IN copying Sequential file reco... thesumitk JCL & VSAM 2 Wed Dec 13, 2017 3:07 pm
No new posts File Tailoring -- Temporary dataset i... samzee71 CLIST & REXX 3 Fri Dec 01, 2017 3:12 am
No new posts Rexx - File tailoring samzee71 CLIST & REXX 10 Thu Nov 30, 2017 10:47 pm
No new posts Compare VSAM files using DFSORT pshongal DFSORT/ICETOOL 5 Thu Nov 23, 2017 10:24 am
No new posts Moving a PS file as body of a mail! Vignesh Sid JCL & VSAM 4 Tue Nov 21, 2017 9:23 pm

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