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 

Unload from Image Copy

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Database
View previous topic :: View next topic  
Author Message
schintala
Beginner


Joined: 18 May 2005
Posts: 108
Topics: 31
Location: USA

PostPosted: Fri Feb 18, 2011 2:41 pm    Post subject: Unload from Image Copy Reply with quote

I am trying to unload data from Image Copy of the table space. It gives me following error. Any ideas? The image copy data set is GDG version. If I copy GDG into other data set and unload takes. Is there any restriction using GDG's in unload utility for an image copies.

Code:

//SYSIMAG  DD DISP=SHR,                       
//   DSN=IPD.IFLPZ.RMDD900.IPSATSDP.ATSACCS(0)
//SYSREC00 DD DISP=(NEW,CATLG,DELETE),         
//  DSN=IPT.UNLD.RMDD905.IPSATSDP.ATSACCT(+1),
//  UNIT=TAPE,LABEL=(001,SL),VOL=(,RETAIN,,20)
//SYSIN    DD *                               
  UNLOAD TABLESPACE IPSATSDP.ATSACCS           
           FROMCOPY  SYSIMAG                   
           PUNCHDDN SYSPUNCH UNLDDN SYSREC00   


Error message as follows here.
Code:

   DSNUGUTC -  UNLOAD TABLESPACE IPSATSDP.ATSACCS                   
 - DSNUUGMS -   FROMCOPY SYSIMAG PUNCHDDN SYSPUNCH UNLDDN SYSREC00 
   DSNUULCB - ERROR ALLOCATING DATA SET DSN=SYSIMAG CODE=X'17080002'
 DATA SET SYSIMAG NOT IN CATALOG OR CATALOG CAN NOT BE ACCESSED     
   DSNUGBAC - UTILITY EXECUTION TERMINATED, HIGHEST RETURN CODE=8   
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


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

PostPosted: Fri Feb 18, 2011 3:42 pm    Post subject: Reply with quote

schintala,

You used FROMCOPY parm which expects a DSN name. If you want to use DD then you need to use FROMCOPYDDN

Kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
schintala
Beginner


Joined: 18 May 2005
Posts: 108
Topics: 31
Location: USA

PostPosted: Fri Feb 18, 2011 3:51 pm    Post subject: Reply with quote

Kolusu,

Thank you so much. It worked now. Have a good week end.
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 -> Database 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