View previous topic :: View next topic |
Author |
Message |
ANDY Beginner

Joined: 07 Feb 2004 Posts: 127 Topics: 67
|
Posted: Thu Aug 24, 2006 4:33 am Post subject: How to clear system log |
|
|
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 |
|
 |
kolusu Site Admin

Joined: 26 Nov 2002 Posts: 12378 Topics: 75 Location: San Jose
|
Posted: Thu Aug 24, 2006 5:01 am Post subject: |
|
|
ANDY,
Paste the the messages beginning with IFCnnnI from the job log.
Kolusu _________________ Kolusu
www.linkedin.com/in/kolusu |
|
Back to top |
|
 |
Bill Dennis Advanced

Joined: 03 Dec 2002 Posts: 579 Topics: 1 Location: Iowa, USA
|
Posted: Thu Aug 24, 2006 8:02 am Post subject: |
|
|
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 |
|
 |
|
|