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 

Dummy Load

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


Joined: 01 Dec 2004
Posts: 82
Topics: 28

PostPosted: Thu May 03, 2007 12:54 am    Post subject: Dummy Load Reply with quote

Hi frineds I ahve a doubt in Dummy load
can we delete all the rows in the Table use Dummy laod(the Table cotains some not null fileds also)
Back to top
View user's profile Send private message
Nic Clouston
Advanced


Joined: 01 Feb 2007
Posts: 1075
Topics: 7
Location: At Home

PostPosted: Thu May 03, 2007 3:10 am    Post subject: Reply with quote

Have you tried it - that will answer your question quicker than anyone here can!
_________________
Utility and Program control cards are NOT, repeat NOT, JCL.
Back to top
View user's profile Send private message
CZerfas
Intermediate


Joined: 31 Jan 2003
Posts: 211
Topics: 8

PostPosted: Thu May 03, 2007 3:52 am    Post subject: Reply with quote

However, you have to use the parameter REPLACE in combination with a SYSREC input dataset defined as DUMMY in the JCL AND(!!!) the parameter LOG NO.

REPLACE will always delete and define the underlying VSAM cluster of the tablespace. With this combination of parameters, you will very effectivly get rid of all the rows of a table (and, be shure to know about that, of all the rows of all tables defined in this tablespace as well; therefore beware).

regards
Christian
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