Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

DSN1COPY Error

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2
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    Post subject: DSN1COPY Error
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: 1770
Location: Bloomington, IL

PostPosted: Mon Apr 15, 2013 6:04 pm    Post subject:
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    IBMMAINFRAMES.com Support Forums -> DB2 All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts DB2 Program abending without giving a... rahulgarg14 DB2 7 Mon May 29, 2017 8:10 pm
No new posts Getting error while opening a variabl... apandey1 COBOL Programming 5 Fri May 05, 2017 12:22 pm
No new posts IDC2902I Error tzeche ABENDS & Debugging 2 Tue Mar 28, 2017 11:39 am
No new posts Need help with below DB2 error ashek15 DB2 3 Sat Mar 18, 2017 5:56 am
No new posts FINDREP Syntax Error seahawk789 DFSORT/ICETOOL 4 Thu Mar 09, 2017 10:11 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us