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

Active Member


Joined: 08 May 2006
Posts: 995
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

Active Member


Joined: 08 May 2006
Posts: 995
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

Active Member


Joined: 08 May 2006
Posts: 995
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 Compare yesterday's date to the one o... migusd SYNCSORT 1 Fri Sep 22, 2017 11:35 pm
No new posts Split 1 file into 10 output Files - S... Prasanth Kumar SYNCSORT 5 Sat Sep 16, 2017 12:02 am
No new posts BUILD OUTFIL based on condition other... balaji81_k DFSORT/ICETOOL 13 Fri Sep 08, 2017 11:06 pm
No new posts Skip file from delete pema_yozer All Other Mainframe Topics 3 Tue Aug 29, 2017 3:19 pm
No new posts editting the file by inserting zeros ... pramodrsingh DFSORT/ICETOOL 9 Mon Aug 21, 2017 5:58 pm

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