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 to find which all programs need to rebind in case of

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2
View previous topic :: :: View next topic  
Author Message
Satish5

New User


Joined: 12 Nov 2007
Posts: 38
Location: Texas, USA

PostPosted: Tue Nov 24, 2009 5:23 pm    Post subject: How to find which all programs need to rebind in case of
Reply with quote

Hi,

What will be the impact on programs in case of table change such as adding a column using alter? How to find which all programs need to rebind in case of table change?

Thanks,
Satish
Back to top
View user's profile Send private message

Bharath Bhat

Active User


Joined: 20 Mar 2008
Posts: 283
Location: chennai

PostPosted: Tue Nov 24, 2009 5:33 pm    Post subject:
Reply with quote

All the programs inserting into the table may need to be regenerated (after adding the column to the query if needed). And all those programs which have select * on the table.

You can get those programs from SYSIBM.SYSTABAUTH table.
Back to top
View user's profile Send private message
balubhat

New User


Joined: 04 Oct 2005
Posts: 19
Location: Singapore

PostPosted: Wed Nov 25, 2009 2:55 pm    Post subject: Reply to: How to find which all programs need to rebind in c
Reply with quote

You can use SYSIBM.SYSPACKDEP to check which are the programs using the table.

SELECT DNAME FROM SYSIBM.SYSPACKDEP
WHERE BNAME = <TABLE_NAME>
;
Back to top
View user's profile Send private message
Satish5

New User


Joined: 12 Nov 2007
Posts: 38
Location: Texas, USA

PostPosted: Thu Nov 26, 2009 9:15 am    Post subject:
Reply with quote

Thanks Bharath Bhat and balubhat.

SELECT DNAME FROM SYSIBM.SYSPACKDEP
WHERE BNAME = <TABLE_NAME>

gave me desired reesults.

I could not understand how to get the program list from SYSIBM.SYSTABAUTH, I would apprciate if you can provide the query.

Thanks,
Satish
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
No new posts Why myself doing Package Bind always ... Susanta DB2 5 Thu Mar 02, 2017 10:47 pm
No new posts VALIDATE NULL VALUE IN DB2 CASE STATE... useit DB2 5 Thu Feb 09, 2017 4:34 pm
No new posts Summing on Mixed Case Literals Roy Ware SYNCSORT 3 Tue Jan 03, 2017 10:18 pm
No new posts find particular member name in PDS us... ravi243 CLIST & REXX 10 Mon Dec 19, 2016 6:44 pm
No new posts How to find the first monday of the w... abdulrafi COBOL Programming 10 Fri Nov 25, 2016 3:24 pm


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