IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

DSN1COPY Error


IBM Mainframe Forums -> DB2
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
gylbharat

Active Member


Joined: 31 Jul 2009
Posts: 565
Location: Bangalore

PostPosted: Mon Apr 15, 2013 3:57 pm
Reply with quote

Hi,

I was trying to use DSN1COPY utility to recover a TS with Image copy data.

But I am getting error - VSAM open error.

JCL:
Code:
//RE1 EXEC PGM=DSN1COPY,PARM='PAGESIZE(4K),FULLCOPY,OBIDXLAT,RESET' 
//SYSPRINT DD  SYSOUT=*                                             
//SYSUT1   DD  DSN=HLQ.UTIL.IC.DB2T.DATABASE.DBTS0002,DISP=SHR   
//SYSUT2   DD  DSN=DSNT.DSNDBC.DATABASE.DBTS0002.I0001.A001,     
//             DISP=SHR,AMP=('BUFNI=50')                             
//* SOURCE TARGET                                                   
//* DBID,DBID                                                       
//* PSID,PSID                                                       
//* OBID,OBID                                                       
//SYSXLAT  DD  *                                                     
530,530                                                             
4,4                                                                 
15,17


OUTPUT:

Code:
1DSN1999I START OF DSN1COPY FOR JOB HLQL RE1                               
 DSN1989I DSN1COPY IS PROCESSED WITH THE FOLLOWING OPTIONS:                     
          NO CHECK/NO PRINT/ 4K/FULLCOPY    /NON-SEGMENT/NUMPARTS=   0/   OBIDXL
          DSSIZE=    /PIECESIZ=    /       /                                   
 DSN1998I INPUT  DSNAME = HLQ.UTIL.IC.DB2T.DATABASE.DBTS0002      , SEQ     
 DSN1997I OUTPUT DSNAME = DSNT.DSNDBC.DATABASE.DBTS0002.I0001.A001 , VSAM   
 DSN1996I VSAM OPEN ERROR, ACBERRFLG = 152.  OUTPUT                             
0DSN1993I DSN1COPY TERMINATED,  00000000 PAGES PROCESSED             


I am not able to figure out the exact cause of the error. Can anyone please help?
Back to top
View user's profile Send private message
Akatsukami

Global Moderator


Joined: 03 Oct 2009
Posts: 1788
Location: Bloomington, IL

PostPosted: Mon Apr 15, 2013 6:04 pm
Reply with quote

How very unfortunate that these documents were not available to you!
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> DB2

 


Similar Topics
Topic Forum Replies
No new posts Error to read log with rexx CLIST & REXX 11
No new posts Error when install DB2 DB2 2
No new posts CLIST - Virtual storage allocation error CLIST & REXX 5
No new posts Error while running web tool kit REXX... CLIST & REXX 5
No new posts Getting Error while trying to establi... DB2 3
Search our Forums:

Back to Top