You cannot clear logrec from log stream.   You can offload data in readable 
format, but logrec life is defined in the log stream definition RETPD, in our 
case 15 days.

LOGSTREAM NAME(SYSPLEX.LOGREC.ALLRECS) STRUCTNAME(SYSPLEX_LOGREC) 
LS_DATACLAS(DCLOGER)
          LS_MGMTCLAS(MCNNNNR) LS_STORCLAS(SCONLINX) HLQ(IXGLOGR) MODEL(NO) 
LS_SIZE(25600)
          STG_MGMTCLAS() STG_STORCLAS() STG_DATACLAS(DCLOGRS) STG_SIZE(0)
          LOWOFFLOAD(0) HIGHOFFLOAD(80) STG_DUPLEX(YES) DUPLEXMODE(UNCOND)
          RMNAME() DESCRIPTION() RETPD(15) AUTODELETE(YES) OFFLOADRECALL(YES)
          ZAI(NO) ZAIDATA('NO_ZAIDATA') WARNPRIMARY(NO) LS_ALLOCAHEAD(0)


​​​​​​​​​​​​​​​​​​​​​​​​​​​​_______________________________

Dave Jousma
Vice President | Director, Platform Engineering
Fifth Third Bank | 1830 East Paris Ave, SE | Grand Rapids, MI 49546



From: IBM Mainframe Discussion List <[email protected]> on behalf of 
Steve Estle <[email protected]>
Date: Wednesday, May 13, 2026 at 11:52 AM
To: [email protected] <[email protected]>
Subject: Re: Can you use EREP to clear LOGREC when in Logger format - if so how?

CAUTION EXTERNAL EMAIL
This message came from outside your organization.
DO NOT open attachments or click on links from unknown senders or unexpected 
emails.
Report 
Suspicious<https://us-phishalarm-ewt.proofpoint.com/EWT/v1/MwwqYLOC6b6whF7V!rROLOb4Ij2DhcUQZjfgOtwpfdegLNtAKLnDCD4EOh8hMPmSrD-K3ApNKmnr1giB4JL0G6RloMzILweXtwx82RzMvSk2EUtJez_CX1wNDEDQ$>


Colin,

Thanks - I am aware and know that you can clear LOGREC via EREP when in it's 
traditional format (default name of "SYS1.LOGREC'), but the question was 
specifically about how to clear LOGREC when in it is in "LOGGER" format which 
if you know of happy to get input into as EREP documentation is lacking in this 
area (possibly an idea for follow-on Blog post?)?

Thanks much,
Steve Estle
CDW

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN



This e-mail transmission contains information that is confidential and may be 
privileged.   It is intended only for the addressee(s) named above. If you 
receive this e-mail in error, please do not read, copy or disseminate it in any 
manner. If you are not the intended recipient, any disclosure, copying, 
distribution or use of the contents of this information is prohibited. Please 
reply to the message immediately by informing the sender that the message was 
misdirected. After replying, please erase it from your computer system. Your 
assistance in correcting this error is appreciated.


----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to