| View previous topic :: View next topic | 
	
	
		| Author | Message | 
	
		| YSMVS Beginner
 
  
 Joined: 19 May 2004
 Posts: 51
 Topics: 25
 Location: My House
 
 | 
			
				|  Posted: Thu Jul 29, 2004 1:18 am    Post subject: changing the storage class |   |  
				| 
 |  
				| 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 |  | 
	
		|  | 
	
		| kolusu Site Admin
 
  
 
 Joined: 26 Nov 2002
 Posts: 12394
 Topics: 75
 Location: San Jose
 
 | 
			
				|  Posted: Thu Jul 29, 2004 4:50 am    Post subject: |   |  
				| 
 |  
				| 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 |  | 
	
		|  | 
	
		| warp5 Intermediate
 
  
 Joined: 02 Dec 2002
 Posts: 429
 Topics: 18
 Location: Germany
 
 | 
			
				|  Posted: Thu Jul 29, 2004 5:53 am    Post subject: |   |  
				| 
 |  
				| 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 |  | 
	
		|  | 
	
		| MikeBaker Beginner
 
 
 Joined: 04 May 2004
 Posts: 96
 Topics: 9
 
 
 | 
			
				|  Posted: Mon Aug 23, 2004 6:03 am    Post subject: Altering Storage/Management Classes |   |  
				| 
 |  
				| 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 |  | 
	
		|  | 
	
		|  | 
	
		|  |