IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

identify which are all the jobs using my tables


IBM Mainframe Forums -> DB2
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
sivatechdrive

Active User


Joined: 17 Oct 2004
Posts: 191
Location: hyderabad

PostPosted: Tue Jun 05, 2007 9:24 am
Reply with quote

Hi all,

1. i have 5 tables & there are multiple jobs running
How to identify which are all the jobs using my tables

is there any command \tool to identify them

2. if there is a deadlock how to identfy which resources re in lock

in my project we have the following
SPUFI,QMF,PLATINUM for DB2, OMEGAMON for DB2


Can some one please help me

Regards
Prasasd
Back to top
View user's profile Send private message
pingte

Active User


Joined: 03 Dec 2005
Posts: 120
Location: india

PostPosted: Tue Jun 05, 2007 4:05 pm
Reply with quote

Step 1:
U can use option 3.14 to search the table name in the PDS containing all COBOL-DB2 source codes (give table name in search string)
Step 2:
U can use this program name again in 3.14 and search the JCL or cataloged PROC PDS to search which all jobs are using it.

If table is directly used in Control cards, then u can use 3.14 to search th econtrol card PDS.

Hope this solves ur problem icon_idea.gif
Back to top
View user's profile Send private message
pingte

Active User


Joined: 03 Dec 2005
Posts: 120
Location: india

PostPosted: Tue Jun 05, 2007 4:15 pm
Reply with quote

Please note 3.14 is ISPF main menu option.

If there is a deadlock, Ur program will abend and SQLCODE will be -911 and SQLSTATE of 40502. Look at the dump and c where that program has abended. By this u will have a idea which resource in deadlock state.

Hope this helps.
Back to top
View user's profile Send private message
munikumar
Currently Banned

New User


Joined: 18 Apr 2007
Posts: 24
Location: India

PostPosted: Thu Jun 07, 2007 10:07 am
Reply with quote

Hi,

Sometime deadlocks can abend with -913 also. When -913, we need to rollback LUW exclusively. When -911, system will do it automatically.

After looking into the logs you will get the resource name. If you want to see whether this resource is still using or not, you can use DISPLAY command in DB2I commands.

Regards
Munikumar G
Back to top
View user's profile Send private message
sumannaidu

New User


Joined: 21 May 2005
Posts: 13
Location: Bangalore

PostPosted: Thu Jun 07, 2007 7:43 pm
Reply with quote

Hi Siva,
By using OMEGAMON you can find which table is being used by a specific job. it will also tell u till that time how many rows have been fetch or updated...browse for the different options in omegamon.
Back to top
View user's profile Send private message
look123

New User


Joined: 20 Apr 2007
Posts: 9
Location: pune

PostPosted: Thu Jun 07, 2007 8:16 pm
Reply with quote

What is 'OMEGAMON'?I hear first time.

Please give me advise.

Regards

suresh
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Thu Jun 07, 2007 9:17 pm
Reply with quote

Hello,

Omegamon (or OMON as it is sometimes called) is a monitoring tool.

If you do a web search, you will find many hits.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> DB2

 


Similar Topics
Topic Forum Replies
No new posts How to create a list of SAR jobs with... CA Products 3
No new posts Help in Automating Batch JCL jobs mon... JCL & VSAM 3
No new posts How to identify the transaction categ... IMS DB/DC 3
No new posts Submit multiple jobs from a library t... JCL & VSAM 14
No new posts Identify Program Insert DB2 7
Search our Forums:

Back to Top