Re: Display utilisation of logrec
On 2018-11-29 4:28 AM, Lizette Koehler wrote: Logrec is not only preformatted, but it is a wrap around datasets. So it (LOGREC) always knows where the last record was written in the file. If it gets to the point of overlaying the data, I think an IFC message is produced to let you know you are about to lose data. When IFCDIP00 is used to initialize SYS1.LOGREC, it writes 2 40-byte records (also blocks since RECFM=U), the first containing the CCHH range of the data set and the CCHHR of the 90% full mark and the next CCHHR to be used for a new record. The second record is what I call (rightly or wrongly) the "3 minute currency record" which I've observed gets updated every 3 minutes or so with a new current timestamp. When the LOGREC data set gets to 90% full message IFB080E is issued. When the LOGREC data set becomes full message IFB082I is issued. You can offload the contents and make the data set available for more data by running IFCEREP1 (with the appropriate control inputs), or you can throw the data away and reinitialize LOGREC with IFCDIP00. If you really want to know how full it is in a reasonably convenient fashion then you can write a program to read the first record and calculate and report the fullness, or get a program which already does this. One such program is the public domain data set browser called REVIEW which will format and display some summary data from each LOGREC record when the LOGREC data set is browsed and EREP ON is specified. Cheers, Greg P. -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Re: Display utilisation of logrec
Logrec is not only preformatted, but it is a wrap around datasets. So it (LOGREC) always knows where the last record was written in the file. If it gets to the point of overlaying the data, I think an IFC message is produced to let you know you are about to lose data. Lizette > -Original Message- > From: IBM Mainframe Discussion List On Behalf Of > John Abell > Sent: Wednesday, November 28, 2018 7:40 AM > To: IBM-MAIN@LISTSERV.UA.EDU > Subject: Re: Display utilisation of logrec > > Seems like not our kind of event. It is close by, between Brock and > Sheridan. > > John T. Abell > Tel:800-295-7608Option 4 > President > International: 1-416-593-5578 Option 4 > E-mail: john.ab...@intnlsoftwareproducts.com > Fax:800-295-7609 > > International: 1-416-593-5579 > > > International Software Products > www.ispinfo.com > > This email may contain confidential and privileged material for the sole use > of the intended recipient(s). Any review, use, retention, distribution or > disclosure by others is strictly prohibited. If you are not the intended > recipient (or authorized to receive on behalf of the named recipient), please > contact the sender by reply email and delete all copies of this message. > Also,email is susceptible to data corruption, interception, tampering, > unauthorized amendment and viruses. We only send and receive emails on the > basis that we are not liable for any such corruption, interception, > tampering, amendment or viruses or any consequence thereof. > > > -Original Message- > From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On > Behalf Of Carmen Vitullo > Sent: Wednesday, November 28, 2018 9:17 AM > To: IBM-MAIN@LISTSERV.UA.EDU > Subject: Re: Display utilisation of logrec > > for a dataset I'm not sure you can tell, almost like CA-ENF DB' its a > preformatted file so it's always 100% utilized in a sense, I'm sure if > someone has a way to show utilization they'll pipe in > > > > > Carmen Vitullo > > - Original Message - > > From: "Peter" > To: IBM-MAIN@LISTSERV.UA.EDU > Sent: Wednesday, November 28, 2018 7:12:40 AM > Subject: Display utilisation of logrec > > Hi > > Is there a way to know the current utilisation of logrec ? > > Peter > > -- > For IBM-MAIN subscribe / signoff / archive access instructions, send email to > lists...@listserv.ua.edu with the message: INFO IBM-MAIN > > > -- > For IBM-MAIN subscribe / signoff / archive access instructions, send email to > lists...@listserv.ua.edu with the message: INFO IBM-MAIN > > -- > For IBM-MAIN subscribe / signoff / archive access instructions, send email to > lists...@listserv.ua.edu with the message: INFO IBM-MAIN -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Re: Display utilisation of logrec
Seems like not our kind of event. It is close by, between Brock and Sheridan. John T. Abell Tel:800-295-7608Option 4 President International: 1-416-593-5578 Option 4 E-mail: john.ab...@intnlsoftwareproducts.com Fax:800-295-7609 International: 1-416-593-5579 International Software Products www.ispinfo.com This email may contain confidential and privileged material for the sole use of the intended recipient(s). Any review, use, retention, distribution or disclosure by others is strictly prohibited. If you are not the intended recipient (or authorized to receive on behalf of the named recipient), please contact the sender by reply email and delete all copies of this message. Also,email is susceptible to data corruption, interception, tampering, unauthorized amendment and viruses. We only send and receive emails on the basis that we are not liable for any such corruption, interception, tampering, amendment or viruses or any consequence thereof. -Original Message- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of Carmen Vitullo Sent: Wednesday, November 28, 2018 9:17 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Display utilisation of logrec for a dataset I'm not sure you can tell, almost like CA-ENF DB' its a preformatted file so it's always 100% utilized in a sense, I'm sure if someone has a way to show utilization they'll pipe in Carmen Vitullo - Original Message - From: "Peter" To: IBM-MAIN@LISTSERV.UA.EDU Sent: Wednesday, November 28, 2018 7:12:40 AM Subject: Display utilisation of logrec Hi Is there a way to know the current utilisation of logrec ? Peter -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Re: Display utilisation of logrec
for a dataset I'm not sure you can tell, almost like CA-ENF DB' its a preformatted file so it's always 100% utilized in a sense, I'm sure if someone has a way to show utilization they'll pipe in Carmen Vitullo - Original Message - From: "Peter" To: IBM-MAIN@LISTSERV.UA.EDU Sent: Wednesday, November 28, 2018 7:12:40 AM Subject: Display utilisation of logrec Hi Is there a way to know the current utilisation of logrec ? Peter -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Re: Display utilisation of logrec
It's a dataset logrec On Wed 28 Nov, 2018, 5:32 PM Carmen Vitullo the dataset or the logstream? > I've never had a need to know, but maybe a summary report would show ? > logstream list report possibly ? > > > > //JS010 EXEC PGM=IXCMIAPU > //STEPLIB DD DISP=SHR,DSN=SYS1.MIGLIB > //ACCIGN DD DUMMY > //SYSPRINT DD SYSOUT=* > //SYSIN DD * > DATA TYPE(LOGR) REPORT(YES) > LIST LOGSTREAM > NAME(IXGLOGR.SYSPLEX.OPERLOG) DETAIL(YES) > > Carmen Vitullo > > - Original Message - > > From: "Peter" > To: IBM-MAIN@LISTSERV.UA.EDU > Sent: Wednesday, November 28, 2018 7:12:40 AM > Subject: Display utilisation of logrec > > Hi > > Is there a way to know the current utilisation of logrec ? > > Peter > > -- > For IBM-MAIN subscribe / signoff / archive access instructions, > send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN > > > -- > For IBM-MAIN subscribe / signoff / archive access instructions, > send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN > -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Re: Display utilisation of logrec
the dataset or the logstream? I've never had a need to know, but maybe a summary report would show ? logstream list report possibly ? //JS010 EXEC PGM=IXCMIAPU //STEPLIB DD DISP=SHR,DSN=SYS1.MIGLIB //ACCIGN DD DUMMY //SYSPRINT DD SYSOUT=* //SYSIN DD * DATA TYPE(LOGR) REPORT(YES) LIST LOGSTREAM NAME(IXGLOGR.SYSPLEX.OPERLOG) DETAIL(YES) Carmen Vitullo - Original Message - From: "Peter" To: IBM-MAIN@LISTSERV.UA.EDU Sent: Wednesday, November 28, 2018 7:12:40 AM Subject: Display utilisation of logrec Hi Is there a way to know the current utilisation of logrec ? Peter -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Display utilisation of logrec
Hi Is there a way to know the current utilisation of logrec ? Peter -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN