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

For IDCAMS,Alter vsam dataset and rename


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
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
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
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: 8797
Location: Welsh Wales

PostPosted: Thu Sep 10, 2009 1:02 pm
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: 262

PostPosted: Thu Sep 10, 2009 4:00 pm
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
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
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: 262

PostPosted: Fri Sep 11, 2009 5:42 pm
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Access to non cataloged VSAM file JCL & VSAM 18
No new posts FINDREP - Only first record from give... DFSORT/ICETOOL 3
No new posts Map Vols and Problem Dataset All Other Mainframe Topics 2
No new posts DROP & ALTER PARTITION-PBR DB2 0
No new posts Allocated cylinders of a dataset DB2 12
Search our Forums:

Back to Top