MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

changing the storage class

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Job Control Language(JCL)
View previous topic :: View next topic  
Author Message
YSMVS
Beginner


Joined: 19 May 2004
Posts: 51
Topics: 25
Location: My House

PostPosted: Thu Jul 29, 2004 1:18 am    Post subject: changing the storage class Reply with quote

In our site we have 2 storage classes. One is for temporary storage and another is for permamanent. If the dataset gets allocated in one storage class, is it possible to change it to other. In other words is it possible to change the storage class from temp to permanent after it has been allocated.

Thanks,
YSMVS.
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12380
Topics: 75
Location: San Jose

PostPosted: Thu Jul 29, 2004 4:50 am    Post subject: Reply with quote

YSMVS,

Did you try migrating your Dataset and then recalling it? Try this job and see if it works

Code:

//STEP0100 EXEC PGM=IKJEFT01,
//SYSTSPRT DD SYSOUT=*       
//SYSUDUMP DD SYSOUT=*       
//SYSTSIN  DD *             
 HMIGRATE  Dataset-name WAIT
 HRECALL   Dataset-name
/*

_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
warp5
Intermediate


Joined: 02 Dec 2002
Posts: 429
Topics: 18
Location: Germany

PostPosted: Thu Jul 29, 2004 5:53 am    Post subject: Reply with quote

Normally a storage class also has a corresponding storage group, which has a physical disk pool. So, just changing the storage class would actually cause problems. You probably need to physically move the dataset and rename it too so that it gets the right storage class and storage group. I would use adrdssu to do it.
Back to top
View user's profile Send private message Visit poster's website
MikeBaker
Beginner


Joined: 04 May 2004
Posts: 96
Topics: 9

PostPosted: Mon Aug 23, 2004 6:03 am    Post subject: Altering Storage/Management Classes Reply with quote

It depends on how the Storage Management group have set things up, and your level of access. If you have the right access, you can modify it via IDCAMS:-
Code:

//*  ALTER MANAGEMENT CLASS                                             
//*                                                                     
//IDCAMS   EXEC PGM=IDCAMS                                             
//SYSPRINT DD SYSOUT=*                                                 
//SYSIN    DD *                                                         
   ALTER 'BBM.AABCY010.SIIF.FULLINV.G0757V00' MGMTCLAS(NOMIG)
//*ALTER  'SNQ267.Z.VBM.DUMP.AABLP'     MGMTCLAS(TSO)
//*ALTER  'SNQ267.Z.VBM.DUMP.AABLP'     STORAGECLASS(STANDARD)
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Job Control Language(JCL) All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group