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 

how to move file to indicated volume??(help)

 
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
Ripley
Beginner


Joined: 30 Mar 2005
Posts: 15
Topics: 8

PostPosted: Thu Mar 31, 2005 7:23 am    Post subject: how to move file to indicated volume??(help) Reply with quote

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 Twisted Evil , 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~ Question

ANY ONE NAVE CODE TO MOVE FILE (GDG,VSAM,SAM)
CAN HELP ME??
Back to top
View user's profile Send private message MSN Messenger
Ripley
Beginner


Joined: 30 Mar 2005
Posts: 15
Topics: 8

PostPosted: Thu Mar 31, 2005 7:34 am    Post subject: Reply with quote

is any one know the utility ADRDSSU
is there other utility can match my need??
thanks Mr. Green
Back to top
View user's profile Send private message MSN Messenger
kolusu
Site Admin
Site Admin


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

PostPosted: Thu Mar 31, 2005 8:17 am    Post subject: Reply with quote

Ripley,

Check this link which has the documentation of ADRDSSU with examples.

http://www.mvsforums.com/helpboards/viewtopic.php?t=2161&highlight=adrdssu

Hope this helps...

Cheers

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


Joined: 04 Dec 2002
Posts: 71
Topics: 0
Location: Little Falls, NJ

PostPosted: Fri Apr 01, 2005 11:42 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
Ripley
Beginner


Joined: 30 Mar 2005
Posts: 15
Topics: 8

PostPosted: Fri Apr 01, 2005 2:56 pm    Post subject: Reply with quote

"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( Evil or Very Mad )

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
View user's profile Send private message MSN Messenger
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