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 

How to clear system log

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Related Non-Technical Topics
View previous topic :: View next topic  
Author Message
ANDY
Beginner


Joined: 07 Feb 2004
Posts: 127
Topics: 67

PostPosted: Thu Aug 24, 2006 4:33 am    Post subject: How to clear system log Reply with quote

I use the following JCL to clear Job log, the return code RC=0, but when I check SYS1.DEMOPKG.LOGREC, it has no change.

Code:
//IFCDIP00 EXEC PGM=IFCDIP00                       
//SERERDS  DD  DSN=SYS1.DEMOPKG.LOGREC,DISP=OLD,   
//             VOL=SER=DMTCAT,                     
//             UNIT=3390                           


    Enter "/" to select action Tracks %Used XT Device
    ---------------------------------------------------------------------
    SYS1.DEMOPKG.LOGREC 45 100 1 3390

_________________
cheers,
Andy
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


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

PostPosted: Thu Aug 24, 2006 5:01 am    Post subject: Reply with quote

ANDY,

Paste the the messages beginning with IFCnnnI from the job log.

Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Bill Dennis
Advanced


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

PostPosted: Thu Aug 24, 2006 8:02 am    Post subject: Reply with quote

The LOGREC dataset has a header record to index locations within itself. The IFCDIP00 utility resets the header info only, the records are not erased. From the MVS Diagnosis Tool and Aids manual:
Code:
IFCDIP00 resets the logrec data set header record field to indicate that the entire data set can be used and clears the time stamp record to hexadecimal zeros.               

_________________
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 -> Related Non-Technical Topics 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