Re: Is there a tool to monitor JES2 Input Queue wait time? [EXTERNAL]
Andy wrote: *Isn't the goal here to identify jobs that have been submitted, but not started? Long-running jobs don't fit that criteria, having already started - or have I missed the point?Andy Stylesz/Series System Programmer* *As I said, the utility could be modified to check arrival on the input queue.* *If it's an SDSF shop, RGEN will provide a useful skeleton from the I (Input) panel.* *The code snippet goes along the lines of:* *Do ix=1 to JNAME.0* */* if JNAME.ix = IPARM & QUEUE.ix = "EXECUTION" & ACTSYS.ix <> "", */ * * if JNAME.ix = IPARM ,* * then Do * */* Issue the ? (JDS) action against the */* */* row to list the data sets in the job. */ * *Address SDSF "ISFACT ST TOKEN('"TOKEN.ix"') PARM(NP ?)" ,* *So substitute EXECUTION for whatever (INPUT?).* *I don't have time to spend on this right now. However, I just submit a job that runs all the time and it loops around every n minutes and checks what's in the system.* *If a job is INPUT, not EXECUTION, just compare the time it hit the queue with current time and issue your WTO for automation to act on.* *JESMSGLG is all you need to look at, for example:* *23.49.05 JOB05080 TUESDAY, 25 AUG 2020 * *23.49.05 JOB05080 IRR010I USERID BDB204 IS ASSIGNED TO THIS JOB. * *For a job that is running/already ran, JESMSGLG has more information:* *02.20.05 JOB05074 $HASP373 BDB204D STARTED - INIT 1- CLASS A * On Wed, Aug 26, 2020 at 7:11 AM R.S. wrote: > W dniu 25.08.2020 o 23:00, Styles, Andy (ITS zPlatform Services) pisze: > > Classification: Public > > > > Isn't the goal here to identify jobs that have been submitted, but not > started? Long-running jobs don't fit that criteria, having already started > - or have I missed the point? > > Good point. > IMHO you either use batch scheduler with all the facilities like > late_sub, etc. or you just submit jobs into the queue and assign some > INITs to it. Obviously the proper method is batch scheduler, but it is > not free. Unless you already have scheduler. > > BTW: Long time ago I was a consultant in some shop and I was asked to > clarify why job XYZ was running a lot of time, much longer than > expected. First view in the output and few hours difference between "job > submitted" and "job started". > After that I was teaching JCL, teaching folks from that company - and I > remebered to clarify dates in the output. > > -- > Radoslaw Skorupka > Lodz, Poland > > > > > > == > > Jeśli nie jesteś adresatem tej wiadomości: > > - powiadom nas o tym w mailu zwrotnym (dziękujemy!), > - usuń trwale tę wiadomość (i wszystkie kopie, które wydrukowałeś lub > zapisałeś na dysku). > Wiadomość ta może zawierać chronione prawem informacje, które może > wykorzystać tylko adresat.Przypominamy, że każdy, kto rozpowszechnia > (kopiuje, rozprowadza) tę wiadomość lub podejmuje podobne działania, > narusza prawo i może podlegać karze. > > mBank S.A. z siedzibą w Warszawie, ul. Senatorska 18, 00-950 Warszawa, > www.mBank.pl, e-mail: kont...@mbank.pl. Sąd Rejonowy dla m. st. Warszawy > XII Wydział Gospodarczy Krajowego Rejestru Sądowego, KRS 025237, NIP: > 526-021-50-88. Kapitał zakładowy (opłacony w całości) według stanu na > 01.01.2020 r. wynosi 169.401.468 złotych. > > If you are not the addressee of this message: > > - let us know by replying to this e-mail (thank you!), > - delete this message permanently (including all the copies which you have > printed out or saved). > This message may contain legally protected information, which may be used > exclusively by the addressee.Please be reminded that anyone who > disseminates (copies, distributes) this message or takes any similar > action, violates the law and may be penalised. > > mBank S.A. with its registered office in Warsaw, ul. Senatorska 18, 00-950 > Warszawa,www.mBank.pl, e-mail: kont...@mbank.pl. District Court for the > Capital City of Warsaw, 12th Commercial Division of the National Court > Register, KRS 025237, NIP: 526-021-50-88. Fully paid-up share capital > amounting to PLN 169.401.468 as at 1 January 2020. > > -- > For IBM-MAIN subscribe / signoff / archive access instructions, > send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN > -- Wayne V. Bickerdike -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Re: Is there a tool to monitor JES2 Input Queue wait time? [EXTERNAL]
W dniu 25.08.2020 o 23:00, Styles, Andy (ITS zPlatform Services) pisze: Classification: Public Isn't the goal here to identify jobs that have been submitted, but not started? Long-running jobs don't fit that criteria, having already started - or have I missed the point? Good point. IMHO you either use batch scheduler with all the facilities like late_sub, etc. or you just submit jobs into the queue and assign some INITs to it. Obviously the proper method is batch scheduler, but it is not free. Unless you already have scheduler. BTW: Long time ago I was a consultant in some shop and I was asked to clarify why job XYZ was running a lot of time, much longer than expected. First view in the output and few hours difference between "job submitted" and "job started". After that I was teaching JCL, teaching folks from that company - and I remebered to clarify dates in the output. -- Radoslaw Skorupka Lodz, Poland == Jeśli nie jesteś adresatem tej wiadomości: - powiadom nas o tym w mailu zwrotnym (dziękujemy!), - usuń trwale tę wiadomość (i wszystkie kopie, które wydrukowałeś lub zapisałeś na dysku). Wiadomość ta może zawierać chronione prawem informacje, które może wykorzystać tylko adresat.Przypominamy, że każdy, kto rozpowszechnia (kopiuje, rozprowadza) tę wiadomość lub podejmuje podobne działania, narusza prawo i może podlegać karze. mBank S.A. z siedzibą w Warszawie, ul. Senatorska 18, 00-950 Warszawa,www.mBank.pl, e-mail: kont...@mbank.pl. Sąd Rejonowy dla m. st. Warszawy XII Wydział Gospodarczy Krajowego Rejestru Sądowego, KRS 025237, NIP: 526-021-50-88. Kapitał zakładowy (opłacony w całości) według stanu na 01.01.2020 r. wynosi 169.401.468 złotych. If you are not the addressee of this message: - let us know by replying to this e-mail (thank you!), - delete this message permanently (including all the copies which you have printed out or saved). This message may contain legally protected information, which may be used exclusively by the addressee.Please be reminded that anyone who disseminates (copies, distributes) this message or takes any similar action, violates the law and may be penalised. mBank S.A. with its registered office in Warsaw, ul. Senatorska 18, 00-950 Warszawa,www.mBank.pl, e-mail: kont...@mbank.pl. District Court for the Capital City of Warsaw, 12th Commercial Division of the National Court Register, KRS 025237, NIP: 526-021-50-88. Fully paid-up share capital amounting to PLN 169.401.468 as at 1 January 2020. -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Re: Is there a tool to monitor JES2 Input Queue wait time? [EXTERNAL]
Classification: Public Isn't the goal here to identify jobs that have been submitted, but not started? Long-running jobs don't fit that criteria, having already started - or have I missed the point? Andy Styles z/Series System Programmer -Original Message- From: IBM Mainframe Discussion List On Behalf Of Wayne Bickerdike Sent: 25 August 2020 21:30 To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Is there a tool to monitor JES2 Input Queue wait time? [EXTERNAL] -- This email has reached the Bank via an external source -- I wrote a REXX monitor that runs every 15 minutes and issues WTO for certain jobs that have been running too long. The code could be changed to check input time and start time. A screen scraper could do this too. Tom Brennnans Vista emulator has a scripting feature that will pick up console events, just stack the input time and start time in a file. On Wed, Aug 26, 2020, 04:46 R.S. wrote: > W dniu 25.08.2020 o 16:52, Feller, Paul pisze: > > Lizette, if you have some type of software like OPS/MVS you could > > look > at running a script from time to time that executes the JES2 command > $DJQ,DELAY=YES,DELAY and then look at the output from the command. > > Isn't it as obsolete as dinosaurs? > I mean there is small chance OPS is still in use. > > -- > Radoslaw Skorupka > Lodz, Poland > > > > > > == > > Jeśli nie jesteś adresatem tej wiadomości: > > - powiadom nas o tym w mailu zwrotnym (dziękujemy!), > - usuń trwale tę wiadomość (i wszystkie kopie, które wydrukowałeś lub > zapisałeś na dysku). > Wiadomość ta może zawierać chronione prawem informacje, które może > wykorzystać tylko adresat.Przypominamy, że każdy, kto rozpowszechnia > (kopiuje, rozprowadza) tę wiadomość lub podejmuje podobne działania, > narusza prawo i może podlegać karze. > > mBank S.A. z siedzibą w Warszawie, ul. Senatorska 18, 00-950 Warszawa, > https://eur02.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.m > bank.pl%2F&data=02%7C01%7CAndy.Styles%40LloydsBanking.com%7Cd655a7b5b33a458f572408d8493609c8%7C3ded2960214a46ff8cf4611f125e2398%7C0%7C0%7C637339843730294166&sdata=sGf74hv31F0H7cETGp3HyaC%2FOrPE84I%2BjFhLi0yoSLE%3D&reserved=0, > e-mail: kont...@mbank.pl. Sąd Rejonowy dla m. st. Warszawy XII Wydział > Gospodarczy Krajowego Rejestru Sądowego, KRS 025237, NIP: > 526-021-50-88. Kapitał zakładowy (opłacony w całości) według stanu na > 01.01.2020 r. wynosi 169.401.468 złotych. > > If you are not the addressee of this message: > > - let us know by replying to this e-mail (thank you!), > - delete this message permanently (including all the copies which you > have printed out or saved). > This message may contain legally protected information, which may be > used exclusively by the addressee.Please be reminded that anyone who > disseminates (copies, distributes) this message or takes any similar > action, violates the law and may be penalised. > > mBank S.A. with its registered office in Warsaw, ul. Senatorska 18, > 00-950 > Warszawa,https://eur02.safelinks.protection.outlook.com/?url=http%3A%2 > F%2Fwww.mbank.pl%2F&data=02%7C01%7CAndy.Styles%40LloydsBanking.com > %7Cd655a7b5b33a458f572408d8493609c8%7C3ded2960214a46ff8cf4611f125e2398%7C0%7C0%7C637339843730294166&sdata=sGf74hv31F0H7cETGp3HyaC%2FOrPE84I%2BjFhLi0yoSLE%3D&reserved=0, > e-mail: kont...@mbank.pl. District Court for the Capital City of Warsaw, > 12th Commercial Division of the National Court Register, KRS 025237, NIP: > 526-021-50-88. Fully paid-up share capital amounting to PLN 169.401.468 as at > 1 January 2020. > > -- > 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 Lloyds Banking Group plc. Registered Office: The Mound, Edinburgh EH1 1YZ. Registered in Scotland no. SC95000. Telephone: 0131 225 4555. Lloyds Bank plc. Registered Office: 25 Gresham Street, London EC2V 7HN. Registered in England and Wales no. 2065. Telephone 0207626 1500. Bank of Scotland plc. Registered Office: The Mound, Edinburgh EH1 1YZ. Registered in Scotland no. SC327000. Telephone: 03457 801 801. Lloyds Bank Corporate Markets plc. Registered office: 25 Gresham Street, London EC2V 7HN. Registered in England and Wales no. 10399850. Scottish Widows Schroder Personal Wealth Limited. Registered Office: 25 Gresham Street, London EC2V 7HN. Registered in England and Wales no. 11722983.
Re: Is there a tool to monitor JES2 Input Queue wait time? [EXTERNAL]
I wrote a REXX monitor that runs every 15 minutes and issues WTO for certain jobs that have been running too long. The code could be changed to check input time and start time. A screen scraper could do this too. Tom Brennnans Vista emulator has a scripting feature that will pick up console events, just stack the input time and start time in a file. On Wed, Aug 26, 2020, 04:46 R.S. wrote: > W dniu 25.08.2020 o 16:52, Feller, Paul pisze: > > Lizette, if you have some type of software like OPS/MVS you could look > at running a script from time to time that executes the JES2 command > $DJQ,DELAY=YES,DELAY and then look at the output from the command. > > Isn't it as obsolete as dinosaurs? > I mean there is small chance OPS is still in use. > > -- > Radoslaw Skorupka > Lodz, Poland > > > > > > == > > Jeśli nie jesteś adresatem tej wiadomości: > > - powiadom nas o tym w mailu zwrotnym (dziękujemy!), > - usuń trwale tę wiadomość (i wszystkie kopie, które wydrukowałeś lub > zapisałeś na dysku). > Wiadomość ta może zawierać chronione prawem informacje, które może > wykorzystać tylko adresat.Przypominamy, że każdy, kto rozpowszechnia > (kopiuje, rozprowadza) tę wiadomość lub podejmuje podobne działania, > narusza prawo i może podlegać karze. > > mBank S.A. z siedzibą w Warszawie, ul. Senatorska 18, 00-950 Warszawa, > www.mBank.pl, e-mail: kont...@mbank.pl. Sąd Rejonowy dla m. st. Warszawy > XII Wydział Gospodarczy Krajowego Rejestru Sądowego, KRS 025237, NIP: > 526-021-50-88. Kapitał zakładowy (opłacony w całości) według stanu na > 01.01.2020 r. wynosi 169.401.468 złotych. > > If you are not the addressee of this message: > > - let us know by replying to this e-mail (thank you!), > - delete this message permanently (including all the copies which you have > printed out or saved). > This message may contain legally protected information, which may be used > exclusively by the addressee.Please be reminded that anyone who > disseminates (copies, distributes) this message or takes any similar > action, violates the law and may be penalised. > > mBank S.A. with its registered office in Warsaw, ul. Senatorska 18, 00-950 > Warszawa,www.mBank.pl, e-mail: kont...@mbank.pl. District Court for the > Capital City of Warsaw, 12th Commercial Division of the National Court > Register, KRS 025237, NIP: 526-021-50-88. Fully paid-up share capital > amounting to PLN 169.401.468 as at 1 January 2020. > > -- > 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: Is there a tool to monitor JES2 Input Queue wait time? [EXTERNAL]
W dniu 25.08.2020 o 16:52, Feller, Paul pisze: Lizette, if you have some type of software like OPS/MVS you could look at running a script from time to time that executes the JES2 command $DJQ,DELAY=YES,DELAY and then look at the output from the command. Isn't it as obsolete as dinosaurs? I mean there is small chance OPS is still in use. -- Radoslaw Skorupka Lodz, Poland == Jeśli nie jesteś adresatem tej wiadomości: - powiadom nas o tym w mailu zwrotnym (dziękujemy!), - usuń trwale tę wiadomość (i wszystkie kopie, które wydrukowałeś lub zapisałeś na dysku). Wiadomość ta może zawierać chronione prawem informacje, które może wykorzystać tylko adresat.Przypominamy, że każdy, kto rozpowszechnia (kopiuje, rozprowadza) tę wiadomość lub podejmuje podobne działania, narusza prawo i może podlegać karze. mBank S.A. z siedzibą w Warszawie, ul. Senatorska 18, 00-950 Warszawa,www.mBank.pl, e-mail: kont...@mbank.pl. Sąd Rejonowy dla m. st. Warszawy XII Wydział Gospodarczy Krajowego Rejestru Sądowego, KRS 025237, NIP: 526-021-50-88. Kapitał zakładowy (opłacony w całości) według stanu na 01.01.2020 r. wynosi 169.401.468 złotych. If you are not the addressee of this message: - let us know by replying to this e-mail (thank you!), - delete this message permanently (including all the copies which you have printed out or saved). This message may contain legally protected information, which may be used exclusively by the addressee.Please be reminded that anyone who disseminates (copies, distributes) this message or takes any similar action, violates the law and may be penalised. mBank S.A. with its registered office in Warsaw, ul. Senatorska 18, 00-950 Warszawa,www.mBank.pl, e-mail: kont...@mbank.pl. District Court for the Capital City of Warsaw, 12th Commercial Division of the National Court Register, KRS 025237, NIP: 526-021-50-88. Fully paid-up share capital amounting to PLN 169.401.468 as at 1 January 2020. -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Re: Is there a tool to monitor JES2 Input Queue wait time? [EXTERNAL]
MXG provides two Input Queue Time analysis programs in members ASUMJOBS and ANALBATQ. Barry Herbert W Barry Merrill, PHD President-Programmer Merrill Consultants MXG Software 10717 Cromwell Drive Dallas, TX 75229 www.mxg.com 214 351 1966 ad...@mxg.com for business questions supp...@mxg.com for technical questions ba...@mxg.com -Original Message- From: IBM Mainframe Discussion List On Behalf Of Feller, Paul Sent: Tuesday, August 25, 2020 9:53 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Is there a tool to monitor JES2 Input Queue wait time? [EXTERNAL] Lizette, if you have some type of software like OPS/MVS you could look at running a script from time to time that executes the JES2 command $DJQ,DELAY=YES,DELAY and then look at the output from the command. Not "real" time but next to it. This is from a little test I did. $DJQ,DELAY=YES,DELAY $HASP890 JOB(UDT014E6) DELAY=(HOLD) $HASP890 JOB(UDT014E6) DELAY=(HOLD,SCHENV) Thanks.. Paul Feller GTS Mainframe Technical Support -Original Message- From: IBM Mainframe Discussion List On Behalf Of Lizette Koehler Sent: Monday, August 24, 2020 3:05 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Is there a tool to monitor JES2 Input Queue wait time? [EXTERNAL] Just curious We had a few jobs that took up to 30 minutes before going from input queue to actually running. Does anyone know of an easy (FREE) way to monitor JES2 Input times? I know sometimes it is due to resource restrictions and WLM will not allow anything else to run. But any way to see it in real time? (Assume Lights Out Environment - no people watching) Thanks Lizette -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN -- Please note: This message originated outside your organization. Please use caution when opening links or attachments. -- 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: Is there a tool to monitor JES2 Input Queue wait time? [EXTERNAL]
Lizette, if you have some type of software like OPS/MVS you could look at running a script from time to time that executes the JES2 command $DJQ,DELAY=YES,DELAY and then look at the output from the command. Not "real" time but next to it. This is from a little test I did. $DJQ,DELAY=YES,DELAY $HASP890 JOB(UDT014E6) DELAY=(HOLD) $HASP890 JOB(UDT014E6) DELAY=(HOLD,SCHENV) Thanks.. Paul Feller GTS Mainframe Technical Support -Original Message- From: IBM Mainframe Discussion List On Behalf Of Lizette Koehler Sent: Monday, August 24, 2020 3:05 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Is there a tool to monitor JES2 Input Queue wait time? [EXTERNAL] Just curious We had a few jobs that took up to 30 minutes before going from input queue to actually running. Does anyone know of an easy (FREE) way to monitor JES2 Input times? I know sometimes it is due to resource restrictions and WLM will not allow anything else to run. But any way to see it in real time? (Assume Lights Out Environment - no people watching) Thanks Lizette -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN -- Please note: This message originated outside your organization. Please use caution when opening links or attachments. -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN