| View previous topic :: View next topic | 
	
	
		| Author | Message | 
	
		| Ripley Beginner
 
 
 Joined: 30 Mar 2005
 Posts: 15
 Topics: 8
 
 
 | 
			
				|  Posted: Thu Mar 31, 2005 7:23 am    Post subject: how to move file to indicated volume??(help) |   |  
				| 
 |  
				|  	  | Code: |  	  | //JAXHMOV2 JOB XXXX,SP.XXXXX,REGION=4M, //         CLASS=H,MSGCLASS=X,NOTIFY=XXX
 //COPYDS  EXEC PGM=ADRDSSU
 //SYSPRINT DD  SYSOUT=*
 //INVOL    DD  VOL=SER=CXMG03,DISP=SHR,UNIT=3390
 //OUVOL    DD  VOL=SER=CXMG03,DISP=SHR,UNIT=3390
 //SYSIN    DD  *
 COPY     DS(INCLUDE(FJAP.APDT003.ACC.G0078V00))-
 LOGINDDNAME(INVOL)                -
 OUTDDNAME(OUVOL)                  -
 ALLDATA(*)                        -
 CATALOG                         -
 STORCLAS(SGPGDG)     -
 SPHERE                                    -
 DELETE                         -
 TOL(ENQF)                       -
 WAIT(0  0)
 /*
 | 
 
 i move file FROM VOL=SER=CXMG03 to VOL=SER=CXMG03
 but the OS move other vol
 i cry
  , because other vol is fewer free space(close 0%) how can i let OS to know that i only want to CXMG03
 do let me cry~
   
 ANY ONE NAVE CODE TO MOVE FILE (GDG,VSAM,SAM)
 CAN HELP ME??
 |  | 
	
		| Back to top |  | 
	
		|  | 
	
		| Ripley Beginner
 
 
 Joined: 30 Mar 2005
 Posts: 15
 Topics: 8
 
 
 | 
			
				|  Posted: Thu Mar 31, 2005 7:34 am    Post subject: |   |  
				| 
 |  
				| is any one know the utility ADRDSSU is there other utility can match my need??
 thanks
  |  | 
	
		| Back to top |  | 
	
		|  | 
	
		| kolusu Site Admin
 
  
 
 Joined: 26 Nov 2002
 Posts: 12394
 Topics: 75
 Location: San Jose
 
 |  | 
	
		| Back to top |  | 
	
		|  | 
	
		| bablack Beginner
 
 
 Joined: 04 Dec 2002
 Posts: 71
 Topics: 0
 Location: Little Falls, NJ
 
 | 
			
				|  Posted: Fri Apr 01, 2005 11:42 am    Post subject: |   |  
				| 
 |  
				| Since you specified STORCLAS this dataset is presumably SMS-managed, so SMS will select a volume for the COPY and you have no direct control. 
 If the volume you want is NOT an SMS-managed volume, then specify NULLSTORCLAS on the copy statement to make it non-SMS (but be aware that SMS may override you and make it SMS).
 
 If the volume is SMS, then you need to use a SMS STORCLAS which has the "guaranteed space" attribute.  This will let you direct the copy to a specific SMS volume.
 _________________
 Bruce A. Black
 Senior Software Developer
 Innovation Data Processing
 |  | 
	
		| Back to top |  | 
	
		|  | 
	
		| Ripley Beginner
 
 
 Joined: 30 Mar 2005
 Posts: 15
 Topics: 8
 
 
 | 
			
				|  Posted: Fri Apr 01, 2005 2:56 pm    Post subject: |   |  
				| 
 |  
				| "guaranteed space" attribute. ^^^^^^^^^^^^
 i don't know what you mean??
 
 our company put the GDG into SGPGDG
 if there are GDG on three volume A,B,C
 VOL A(free 30%)
 VOL B(free 4%)
 VOL C(free 8%)
 i must move data from B to A
 SMS move it to C(
  ) 
 but A,B,C is on the same STORCLAS
 so i don't know  the meaning of  "guaranteed space" attribute.
 
 should i add "guaranteed space" attribute to SGPGDG ???
 |  | 
	
		| Back to top |  | 
	
		|  | 
	
		|  | 
	
		|  |