Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

How many and which tables are used in my cobol program

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2
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    Post subject: How many and which tables are used in my cobol program
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    Post subject: Re: Cobol-DB2
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    IBMMAINFRAMES.com Support Forums -> DB2 All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
This topic is locked: you cannot edit posts or make replies. Cobol GUI (like Editor) Kala Mainframe COBOL Programming 14 Wed May 10, 2017 12:30 pm
No new posts IMS T-Pipe queue counts in a COBOL Pr... Siva NKK Kothamasu IMS DB/DC 0 Tue May 09, 2017 6:31 pm
No new posts COBOL Code Parsers and Lineage Establ... balimanja COBOL Programming 2 Tue May 02, 2017 3:30 am
No new posts Cobol upgrade - source code missing f... gthmrj IBM Tools 1 Wed Apr 26, 2017 6:04 pm
No new posts Need help in REXX CALL program Raje1002 CLIST & REXX 5 Wed Apr 19, 2017 11:18 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us