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

How many and which tables are used in my cobol program


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

New User


Joined: 19 Mar 2006
Posts: 9
Location: Bangalore, INDIA

PostPosted: Sun Mar 19, 2006 2:58 am
Reply with quote

How i know how many and which tables are used in my cobol program.
And i have DB2 table name ..wants to know which-2 and how many programs are using that table.
Back to top
View user's profile Send private message
T-REXDB2

New User


Joined: 28 Apr 2005
Posts: 11
Location: USA

PostPosted: Sun Mar 19, 2006 8:14 am
Reply with quote

sunil_chappy wrote:
How i know how many and which tables are used in my cobol program.
And i have DB2 table name ..wants to know which-2 and how many programs are using that table.


Hello, Sir!

Answer is elementary: Query one of two DB2 catalog tables - SYSPLANDEP (i.e., for DBRM bound plans) and/or SYSPACKDEP (i.e., for DBRM bound package, a.k.a., program), using BNAME (object name plan or package depends on) predicate in WHERE clause.

HOPE THIS HELPS, MUCHLY!!! ;-]
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 Replace each space in cobol string wi... COBOL Programming 3
No new posts Using API Gateway from CICS program CICS 0
No new posts COBOL -Linkage Section-Case Sensitive COBOL Programming 1
No new posts COBOL ZOS Web Enablement Toolkit HTTP... COBOL Programming 0
No new posts Calling DFSORT from Cobol, using OUTF... DFSORT/ICETOOL 5
Search our Forums:

Back to Top