Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

For IDCAMS,Alter vsam dataset and rename

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
priyapala
Warnings : 1

New User


Joined: 25 Jul 2005
Posts: 12

PostPosted: Thu Sep 10, 2009 12:44 pm    Post subject: For IDCAMS,Alter vsam dataset and rename
Reply with quote

Hi ,

I have been triying the following commands
ALTER SYSP.KC2.GOLD.RKANMOD -
NEWNAME(SYSP.KC2.GOLD.RKANMOD.BACKUP)

ALTER SYSP.KC2.GOLD.RKANMOD.NEW -
NEWNAME(SYSP.KC2.GOLD.RKANMOD)
I encoutered with a problem ALTER SYSP.KC2.GOLD.RKANMOD -
NEWNAME(SYSP.KC2.GOLD.RKANMOD.BACKUP)
IDC3014I CATALOG ERROR
IDC3009I ** VSAM CATALOG RETURN CODE IS 98 - REASON CODE IS IGG0CLE6-7
IDC0532I **ENTRY SYSP.KC2.GOLD.RKANMOD NOT ALTERED
IDC0001I FUNCTION COMPLETED, HIGHEST CONDITION CODE WAS 8

Not able to figure out whats the exact error ?
Back to top
View user's profile Send private message

notonly4u

New User


Joined: 26 Apr 2005
Posts: 87
Location: Hyderabad

PostPosted: Thu Sep 10, 2009 12:48 pm    Post subject:
Reply with quote

Is the dataset you are trying to alter is migrated?
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Thu Sep 10, 2009 1:02 pm    Post subject:
Reply with quote

Were there any IEC messages issued in the sysout of the job.
Back to top
View user's profile Send private message
nevilh

Active User


Joined: 01 Sep 2006
Posts: 258

PostPosted: Thu Sep 10, 2009 4:00 pm    Post subject:
Reply with quote

The data set was not renamed, because it was currently open for
processing.
Back to top
View user's profile Send private message
priyapala
Warnings : 1

New User


Joined: 25 Jul 2005
Posts: 12

PostPosted: Fri Sep 11, 2009 5:18 pm    Post subject:
Reply with quote

The dataset is not migrated .
In other lpar i have tried this that worked well and the dataset is a pds one.I wonder how other datasets got renamed which are pds datasets and not this one particularly.will there be any security issue
Back to top
View user's profile Send private message
priyapala
Warnings : 1

New User


Joined: 25 Jul 2005
Posts: 12

PostPosted: Fri Sep 11, 2009 5:21 pm    Post subject:
Reply with quote

In the subject ,i mentioned vsam ,but the dataset i have used are pds ones
Back to top
View user's profile Send private message
nevilh

Active User


Joined: 01 Sep 2006
Posts: 258

PostPosted: Fri Sep 11, 2009 5:42 pm    Post subject:
Reply with quote

The book says you cannot rename the dataset as someone else is using it.
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 -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Fail to change physical VSAM filename... jacobdng CICS 6 Fri Jan 20, 2017 12:36 pm
No new posts how to recover an uncataloged VSAM da... archanamuthukrishnan All Other Mainframe Topics 3 Wed Jan 11, 2017 6:18 pm
No new posts Underlying DB2 VSAM LDS - SMF recording vasanthz All Other Mainframe Topics 6 Thu Jan 05, 2017 4:20 am
No new posts FTP - JCL failed while passing FTP co... Suneetha1612 JCL & VSAM 12 Wed Nov 16, 2016 7:33 pm
No new posts BWO option in VSAM blayek CICS 3 Sat Nov 05, 2016 10:47 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us