View previous topic :: View next topic
|
Author |
Message |
Abi
New User
Joined: 27 Jul 2005 Posts: 35 Location: Chennai
|
|
|
|
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 |
|
|
Garry Carroll
Senior Member
Joined: 08 May 2006 Posts: 1193 Location: Dublin, Ireland
|
|
|
|
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 |
|
|
Abi
New User
Joined: 27 Jul 2005 Posts: 35 Location: Chennai
|
|
|
|
I tried that ,
But on pressing enter the DSN name changes back to the original file name .It is |
|
Back to top |
|
|
Abi
New User
Joined: 27 Jul 2005 Posts: 35 Location: Chennai
|
|
|
|
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 |
|
|
Garry Carroll
Senior Member
Joined: 08 May 2006 Posts: 1193 Location: Dublin, Ireland
|
|
|
|
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 |
|
|
Abi
New User
Joined: 27 Jul 2005 Posts: 35 Location: Chennai
|
|
|
|
I allocated the file using fileaid option |
|
Back to top |
|
|
Garry Carroll
Senior Member
Joined: 08 May 2006 Posts: 1193 Location: Dublin, Ireland
|
|
|
|
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 |
|
|
Earl Haigh
Active User
Joined: 25 Jul 2006 Posts: 475
|
|
|
|
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 |
|
|
Bill O'Boyle
CICS Moderator
Joined: 14 Jan 2008 Posts: 2501 Location: Atlanta, Georgia, USA
|
|
|
|
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 |
|
|
Pradip kumar Mohanty
New User
Joined: 16 Sep 2007 Posts: 33 Location: India
|
|
|
|
And you need a warm start atleast. So get your CICS admin involved. |
|
Back to top |
|
|
|