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
 
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: 8617
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: 260

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: 260

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 File Tailoring -- Temporary dataset i... samzee71 CLIST & REXX 3 Fri Dec 01, 2017 3:12 am
No new posts Compare VSAM files using DFSORT pshongal DFSORT/ICETOOL 5 Thu Nov 23, 2017 10:24 am
No new posts OUTREC with ALter Command scorp_rahul23 DFSORT/ICETOOL 1 Wed Nov 22, 2017 3:10 pm
No new posts Copy 4 byte of data from the last rec... arunsoods DFSORT/ICETOOL 9 Fri Oct 06, 2017 12:15 pm
No new posts opening a dataset after reading it fr... arunsoods DFSORT/ICETOOL 5 Wed Oct 04, 2017 3:54 pm

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