Hi Team,
I searched for this and did not find much info. Please help me on this.
We have cobol DB2 stored procedures and gets invoked thru front end java application. Some times there is a deadlock with one table and all the remaining threads are waiting on this which causes the application to slow down. I'm planning to automate this.
I need your help to Identify the long running threads in DB2 thru JCL. ex: If the thread is running more than 30 mins. I have attached screen print for the issue which we are facing.
Thanks,
Avinash
How to determine long running DB2 threads thru JCL
-
- Posts: 2
- Joined: Fri Sep 08, 2017 4:25 pm
- Skillset: COBOL.JCL.DB2,CICIS,EASYTRIVE
- Referer: friend
How to determine long running DB2 threads thru JCL
You do not have the required permissions to view the files attached to this post.
-
- Global moderator
- Posts: 3720
- Joined: Sat Dec 19, 2009 8:32 pm
- Skillset: Systems programming, SAS, COBOL, CICS, JCL, SMS, VSAM, etc.
- Referer: other forum
- Location: Dubuque, Iowa, USA
Re: How to determine long running DB2 threads thru JCL
This cannot be done, period. JCL is used to allocate resources and execute batch programs. JCL cannot be used to do anything else.I need your help to Identify the long running threads in DB2 thru JCL
Furthermore, if your site has a monitor such as OMEGAMON or MAINVIEW, use the monitor since this is the kind of thing they are written to handle.
-
- Posts: 2
- Joined: Fri Sep 08, 2017 4:25 pm
- Skillset: COBOL.JCL.DB2,CICIS,EASYTRIVE
- Referer: friend
Re: How to determine long running DB2 threads thru JCL
Thanks Robert.
-
- Similar Topics
- Replies
- Views
- Last post
-
- 3
- 2297
-
by NicC
View the latest post
Sat Nov 21, 2020 3:16 am
-
-
Getting 0F01C008 Error while running SMP/e Apply Check Job
by csakil » Tue Apr 06, 2021 10:58 pm » in System programming - 0
- 2859
-
by csakil
View the latest post
Tue Apr 06, 2021 10:58 pm
-
-
-
RC's when running a REXX exec under ISPSTART in Batch
by golemis » Thu Nov 03, 2022 5:19 pm » in TSO & ISPF - 5
- 3518
-
by golemis
View the latest post
Fri Nov 04, 2022 2:19 pm
-