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 

GENERIC DELETES IN VSAM

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


Joined: 26 Aug 2005
Posts: 144
Topics: 73

PostPosted: Wed Feb 06, 2008 1:13 am    Post subject: GENERIC DELETES IN VSAM Reply with quote

Could anyone can help me in sorting the problem which i am getting while deleting the clusters using wild card.

Please have a look at the jcl:
Code:

//DBASMC JOB (3000-000000-00-Z-00000000000),'DELETE',   
//  CLASS=D,MSGLEVEL=(1,1),MSGCLASS=H,NOTIFY=&SYSUID   
/*JBS BIND SYS.PRD4                                     
/*JOBPARM S=SYSA                                       
//***                                                   
//STEP1     EXEC  PGM=IDCAMS                           
//SYSPRINT  DD  SYSOUT=*                               
//*SYSPRINT  DD  DSN=DBASM.SYSOUT,DISP=SHR             
//SYSIN     DD  *                                       
 DELETE -                                               
 DB2PR4.DSNDBC.IDBDBUS0.* -                             
 CLUSTER                                               
//           


Error:
Code:

//DBASMC JOB (3000-000000-00-Z-00000000000),'DELETE',                 
//  CLASS=D,MSGLEVEL=(1,1),MSGCLASS=H,NOTIFY=&SYSUID                 
/*JBS BIND SYS.PRD4                                                   
/*JOBPARM S=SYSA                                                     
//***                                                                 
//STEP1     EXEC  PGM=IDCAMS                                         
//SYSPRINT  DD  SYSOUT=*                                             
//*SYSPRINT  DD  DSN=DBASM.SYSOUT,DISP=SHR                           
//SYSIN     DD  *                                                     
 DELETE -                                                             
 DELETE -                                                             
 DB2PR4.DSNDBC.IDBDBUS0.* -                                           
 DB2PR4.DSNDBC.IDBDBUS0.* -                                           
 CLUSTER                                                             
 CLUSTER                                     

CAY6079E DATA SET "DB2PR4.DSNDBC.IDBDBUS0.*" SPECIFIED AS OLD OR SHR,
BUT CANNOT BE FOUND

_________________
Satya
Back to top
View user's profile Send private message
vkphani
Intermediate


Joined: 05 Sep 2003
Posts: 483
Topics: 48

PostPosted: Wed Feb 06, 2008 3:09 am    Post subject: Reply with quote

SATYENDER,

The dataset DB2PR4.DSNDBC.IDBDBUS0.* does not exists. You have to post VSAM related queries in Data Management section.
Back to top
View user's profile Send private message Send e-mail
Bill Dennis
Advanced


Joined: 03 Dec 2002
Posts: 579
Topics: 1
Location: Iowa, USA

PostPosted: Wed Feb 06, 2008 9:34 am    Post subject: Reply with quote

The message CAY6079E indicates another product (such as JCL CHECK) is trying to validate your JCL before execution. Can you bypass the checking to make it work?
_________________
Regards,
Bill Dennis

Disclaimer: My comments on this foorum are my own and do not represent the opinions or suggestions of any other person or business entity.
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