Re: Informix 9.40: Need Script to Determine Which Tables Have IN-PLACE
Posted in 2004
--0__=88BBE476DFCA25978f9e8a93df938690918c88BBE476DFCA2597 Content-type: multipart/related; Boundary="1__=88BBE476DFCA25978f9e8a93df938690918c88BBE476DFCA2597" --1__=88BBE476DFCA25978f9e8a93df938690918c88BBE476DFCA2597 Content-type: multipart/alternative; Boundary="2__=88BBE476DFCA25978f9e8a93df938690918c88BBE476DFCA2597" --2__=88BBE476DFCA25978f9e8a93df938690918c88BBE476DFCA2597 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: quoted-printable Hi Clifton, I've got a script which does that ... Long time back I had tested it for 9.40 and it used to work ... let me = know if there are any problems with it. (See attached file: inplacealter.ksh.txt) Thanx much, Rajib Sarkar Advisory Software Engineer DB2/UDB Regional Advanced Support IBM Data Management Group Ph : (602)-217-2100 Fax: (602)-217-2100 T/L : 667-2100 http://www.ibm.com/software/data/db2/udb/winos2unix/support If we all did the things we are capable of doing, we would literally astound ourselves. -- T. Edison = "Clifton M. Bean" = <cmbean@sbcglobal = .net> = To Sent by: ids@iiug.org = forum.subscriber@ = cc iiug.org = Subj= ect Informix 9.40: Need Script to = 08/02/2004 06:26 Determine Which Tables Have = PM IN-PLACE ALTERS [3312] = = = = = = = Does anyone have a script that will run against a sysmaster table that = will quickly identify which tables within a database have active in-place al= ter tables. I used to have one that worked on 7.3+ instances but the sysmaster tabl= es used by that script no longer exist in 9.40. I added sapmix to the email list believing that, perhaps, an SAP OSS no= te may address this issue and can be used by the non-SAP world to locate t= hese tables. Thanks in advance. Clifton = --2__=88BBE476DFCA25978f9e8a93df938690918c88BBE476DFCA2597 Content-type: text/html; charset=US-ASCII Content-Disposition: inline Content-transfer-encoding: quoted-printable <html><body> <p>Hi Clifton,<br> I've got a script which does that ...<br> <br> Long time back I had tested it for 9.40 and it used to work ... let me = know if there are any problems with it.<br> <br> <i>(See attached file: inplacealter.ksh.txt)</i><br> <br> Thanx much,<br> <br> Rajib Sarkar<br> Advisory Software Engineer<br> DB2/UDB Regional Advanced Support<br> IBM Data Management Group<br> Ph : (602)-217-2100<br> Fax: (602)-217-2100<br> T/L : 667-2100<br> <a href=3D"http://www.ibm.com/software/data/db2/udb/winos2unix/support"= >http://www.ibm.com/software/data/db2/udb/winos2unix/support</a><br> <br> <br> If we all did the things we are capable of doing, we would literally as= tound ourselves. -- T. Edison<br> <br> <img src=3D"cid:20__=3D88BBE476DFCA25978f9e8a93df938@us.ibm.com" width=3D= "16" height=3D"16" alt=3D"Inactive hide details for "Clifton M. Be= an" <cmbean@sbcglobal.net>">"Clifton M. Bean" <= cmbean@sbcglobal.net><br> <br> <br> <table width=3D"100%" border=3D"0" cellspacing=3D"0" cellpadding=3D"0">= <tr valign=3D"top"><td style=3D"background-image:url(cid:30__=3D88BBE47= 6DFCA25978f9e8a93df938@us.ibm.com); background-repeat: no-repeat; " wid= th=3D"40%"> <ul> <ul> <ul> <ul><b><font size=3D"2">"Clifton M. Bean" <cmbean@sbcgloba= l.net></font></b><font size=3D"2"> </font><br> <font size=3D"2">Sent by: forum.subscriber@iiug.org</font> <p><font size=3D"2">08/02/2004 06:26 PM</font></ul> </ul> </ul> </ul> </td><td width=3D"60%"> <table width=3D"100%" border=3D"0" cellspacing=3D"0" cellpadding=3D"0">= <tr valign=3D"top"><td width=3D"1%" valign=3D"middle"><img src=3D"cid:4= 0__=3D88BBE476DFCA25978f9e8a93df938@us.ibm.com" border=3D"0" height=3D"= 1" width=3D"58" alt=3D""><br> <div align=3D"right"><font size=3D"2">To</font></div></td><td width=3D"= 100%"><img src=3D"cid:40__=3D88BBE476DFCA25978f9e8a93df938@us.ibm.com" = border=3D"0" height=3D"1" width=3D"1" alt=3D""><br> <font size=3D"2">ids@iiug.org</font></td></tr> <tr valign=3D"top"><td width=3D"1%" valign=3D"middle"><img src=3D"cid:4= 0__=3D88BBE476DFCA25978f9e8a93df938@us.ibm.com" border=3D"0" height=3D"= 1" width=3D"58" alt=3D""><br> <div align=3D"right"><font size=3D"2">cc</font></div></td><td width=3D"= 100%"><img src=3D"cid:40__=3D88BBE476DFCA25978f9e8a93df938@us.ibm.com" = border=3D"0" height=3D"1" width=3D"1" alt=3D""><br> </td></tr> <tr valign=3D"top"><td width=3D"1%" valign=3D"middle"><img src=3D"cid:4= 0__=3D88BBE476DFCA25978f9e8a93df938@us.ibm.com" border=3D"0" height=3D"= 1" width=3D"58" alt=3D""><br> <div align=3D"right"><font size=3D"2">Subject</font></div></td><td widt= h=3D"100%"><img src=3D"cid:40__=3D88BBE476DFCA25978f9e8a93df938@us.ibm.= com" border=3D"0" height=3D"1" width=3D"1" alt=3D""><br> <font size=3D"2">Informix 9.40: Need Script to Determine Which Tables H= ave IN-PLACE ALTERS [3312]</font></td></tr> </table> <table border=3D"0" cellspacing=3D"0" cellpadding=3D"0"> <tr valign=3D"top"><td width=3D"58"><img src=3D"cid:40__=3D88BBE476DFCA= 25978f9e8a93df938@us.ibm.com" border=3D"0" height=3D"1" width=3D"1" alt= =3D""></td><td width=3D"336"><img src=3D"cid:40__=3D88BBE476DFCA25978f9= e8a93df938@us.ibm.com" border=3D"0" height=3D"1" width=3D"1" alt=3D""><= /td></tr> </table> </td></tr> </table> <br> <tt>Does anyone have a script that will run against a sysmaster table t= hat will quickly identify which tables within a database have active in= -place alter tables. <br> <br> I used to have one that worked on 7.3+ instances but the sysmaster tabl= es used by that script no longer exist in 9.40.<br> <br> I added sapmix to the email list believing that, perhaps, an SAP OSS no= te may address this issue and can be used by the non-SAP world to locat= e these tables.<br> <br> Thanks in advance.<br> Clifton<br> <br> <br> <br> </tt><br> </body></html>= --2__=88BBE476DFCA25978f9e8a93df938690918c88BBE476DFCA2597-- --1__=88BBE476DFCA25978f9e8a93df938690918c88BBE476DFCA2597 Content-type: image/gif; name="graycol.gif" Content-Disposition: inl