<?xml version='1.0' encoding='UTF-8'?><rss xmlns:atom='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' version='2.0'><channel><atom:id>tag:blogger.com,1999:blog-18371456</atom:id><lastBuildDate>Fri, 27 Jun 2008 03:11:48 +0000</lastBuildDate><title>DB2PORTAL Blog</title><description/><link>http://www.db2portal.com/blog.html</link><managingEditor>noreply@blogger.com (Craig S Mullins)</managingEditor><generator>Blogger</generator><openSearch:totalResults>146</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-18371456.post-695157899503391949</guid><pubDate>Wed, 25 Jun 2008 16:03:00 +0000</pubDate><atom:updated>2008-06-25T09:16:09.781-07:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>tips and tricks</category><category domain='http://www.blogger.com/atom/ns#'>Q+A</category><title>No Alphabetic Characters Wanted</title><description>Here is a question that was posed to me recently:&lt;p class="MsoNormal"&gt;&lt;br /&gt;
&lt;/p&gt;&lt;span style="font-weight: bold;"&gt;Q&lt;/span&gt;:  We have a CHAR(10) column that cannot contain alphabetic characters. How can we make sure that the letters A thru Z are not allowed.&lt;p class="MsoNormal"&gt;&lt;br /&gt;
&lt;/p&gt;&lt;span style="font-weight: bold;"&gt;A&lt;/span&gt;:  Well, think about the characteristics of alphabetic characters versus the other "things" that can be stored in a CHAR column. One thing that separates an alphabetic letter from numbers, punctuation, etc. is that there are upper and lower case versions (e.g. A, a).  So, you could use the following predicate to preclude alphabetic characters from being accepted:&lt;br /&gt;
&lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;div style="text-align: left;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;color:black;"   &gt;      &lt;span style="font-family:courier new;"&gt;LOWER(:string) = UPPER(:string)&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
Of course, you will not be able to put this into a CHECK constraint because of restrictions on their content (for example, you cannot use function in a CHECK constraint). But you could use this in SQL statements and as a check in your programs before allowing data to be inserted or modified in your CHAR(10) column.&lt;br /&gt;
&lt;br /&gt;
Anyone else have any other ideas?&lt;br /&gt;
&lt;/div&gt;</description><link>http://www.db2portal.com/2008/06/no-alphabetic-characters-wanted.html</link><author>noreply@blogger.com (Craig S Mullins)</author></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-18371456.post-3101242665021220907</guid><pubDate>Mon, 16 Jun 2008 20:43:00 +0000</pubDate><atom:updated>2008-06-16T13:53:19.340-07:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>middleware</category><title>IBM Rules the Middleware Roost</title><description>Have you seen Gartner's latest report on the middleware market?&lt;br /&gt;
&lt;br /&gt;
The Gartner middleware market numbers were reported in a recent article in eWeek. Evidently, &lt;a href="http://www.eweek.com/c/a/Infrastructure/Middleware-Market-Up-IBM-Maintains-Lead/?kc=EWKNLDAT061208STR1"&gt;the worldwide application infrastructure and middleware software market revenue totaled $14.1 billion in 2007, a 12.9 percent increase from 2006 revenue of $12.5 billion.&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Now that is quite healthy growth in what is a somewhat slow market. And right there at the top of the pile is &lt;a href="http://www.eweek.com/c/a/Infrastructure/Middleware-Market-Up-IBM-Maintains-Lead/?kc=EWKNLDAT061208STR1"&gt;IBM with a 28.9 percent share of what Gartner identifies as the AIM market...BEA Systems came in second with 9.3 percent of the market, followed by Oracle with 8.5 percent. However, Oracle now owns BEA and will benefit from BEA's market share &lt;/a&gt;(next year).&lt;br /&gt;
&lt;br /&gt;
Oracle will likely continue its acquisitive ways, but IBM has not been silent on the acquisition front lately either. So I'm guessing that next year IBM will retain its #1 position with Oracle coming in solidly at #2.&lt;br /&gt;
&lt;br /&gt;
For 2007, though, in terms of growth, Microsoft and Software AG posted impressive gains. Among the big enterprise software vendors, Microsoft came in at 41.6 percent revenue growth year over year. And Software AG showed strong growth with a 107 percent increase from 2006.&lt;br /&gt;
&lt;br /&gt;
This is a market segment, like database software, where a small number of big players own most of the market. However, it is not quite as monopolized as the database market where three players (IBM, Oracle, and Microsoft) dwarf the rest of the field. The top five middleware vendors hold over 50 percent of the overall market and Gartner indicates that the big players are slowly eroding market share from the smaller vendors.</description><link>http://www.db2portal.com/2008/06/ibm-rules-middleware-roose.html</link><author>noreply@blogger.com (Craig S Mullins)</author></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-18371456.post-6622897493804773355</guid><pubDate>Mon, 09 Jun 2008 06:29:00 +0000</pubDate><atom:updated>2008-06-08T23:35:39.342-07:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>user groups</category><title>On The Road Again</title><description>I will been traveling extensively in June this year (2008). Last week I traveled to Phoenix to speak to the American Express Information Summit on the topic of regulatory compliance and its impact on data management and database administration. And I also spoke at the Los Angeles Area DB2 User Group on DB2 performance tuning and database trends.&lt;br /&gt;
&lt;br /&gt;
This week (the second week of June) I will be traveling to Washington, DC to speak to the Baltimore-Washington DB2 User Group (&lt;a href="http://www.bwdb2ug.org/"&gt;BWDUG&lt;/a&gt;) on June 11th to deliver "The Impact of Regulatory Compliance on Database Administration." And then, later in the week, June 13th, I will be in Tampa to speak on the topic on database auditing to the Tampa Bay Relational User Group (&lt;a href="http://www.tbrug.com/"&gt;TBRUG&lt;/a&gt;).&lt;br /&gt;
&lt;br /&gt;
And the week after that I will be speaking to the Chicago chapter of (&lt;a href="http://www.damachicago.org/"&gt;DAMA)&lt;/a&gt; on June 18th, on the topic of "Managing Data For Long Retention Periods."&lt;br /&gt;
&lt;br /&gt;
So, if you are in one of the regions where I'll be speaking, I hope you can take the time to attend. And if not, you can always keep track of my speaking schedule on my web site at &lt;a href="http://www.craigsmullins.com/speak.htm"&gt;http://www.craigsmullins.com/speak.htm&lt;/a&gt;.</description><link>http://www.db2portal.com/2008/06/on-road-again.html</link><author>noreply@blogger.com (Craig S Mullins)</author></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-18371456.post-2580718309114936633</guid><pubDate>Wed, 28 May 2008 17:11:00 +0000</pubDate><atom:updated>2008-05-28T10:17:32.169-07:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>webinar</category><category domain='http://www.blogger.com/atom/ns#'>database archiving</category><title>Database Archiving Trends and Best Practices</title><description>Just a short note to promote my upcoming webinar, this Friday, May 30, 2008 at 10:30 AM CST. The webinar is titled &lt;a href="https://neonesoft.webex.com/mw0304l/mywebex/default.do?siteurl=neonesoft&amp;amp;service=6&amp;amp;main_url=%2Fec0509l%2Feventcenter%2Fmainframe.do%3Fmainurl%3Dhttps%253A%252F%252Fneonesoft.webex.com%252Fec0509l%252Feventcenter%252Fevent%252FeventAction.do%253FtheAction%253Ddetail%2526confViewID%253D282182750%2526siteurl%253Dneonesoft%26siteurl%3Dneonesoft"&gt;Database Archiving Trends and Best Practices &lt;/a&gt;and it will cover a variety of trends and issues that are contributing to the growing requirement within enterprises to archive database data for long-term retention and preservation.&lt;br /&gt;
&lt;br /&gt;
I'll touch on trends such as regulatory compliance issues, e-discovery, operational performance improvement, and retiring legacy applications. After examining the forces driving the need to archive database data, we'll look at the requirements for implementing database archiving appropriately, and walk thru an example using &lt;a href="http://www.neonesoft.com/TAR.shtm"&gt;TITAN Archive&lt;/a&gt;.&lt;br /&gt;
&lt;br /&gt;
If your databases are bursting at the seams, your organization is experiencing compliance-related troubles and/or lawsuits, or you need to figure out how to sunset an old database application or two, this presentation will provide guidance, advice, and a workable template for you to follow.&lt;br /&gt;
&lt;br /&gt;
I hope you can find the time to attend!</description><link>http://www.db2portal.com/2008/05/database-archiving-trends-and-best_28.html</link><author>noreply@blogger.com (Craig S Mullins)</author></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-18371456.post-940789863689028845</guid><pubDate>Mon, 26 May 2008 20:17:00 +0000</pubDate><atom:updated>2008-05-26T13:22:39.755-07:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>RedBook</category><category domain='http://www.blogger.com/atom/ns#'>BI</category><category domain='http://www.blogger.com/atom/ns#'>data warehouse</category><category domain='http://www.blogger.com/atom/ns#'>OLAP</category><title>New IBM RedBook on Dimensional Modeling</title><description>Just a quick post today (Memorial Day in the USA) to inform you about a new IBM RedBook on dimensional modeling. If you are working with data warehousing applications, writing analytical queries, or in any way dealing with databases and dimensional models, this free RedBook is well worth downloading and reading.&lt;br /&gt;
&lt;br /&gt;
It is titled &lt;a href="http://www.redbooks.ibm.com/abstracts/sg247138.html?Open"&gt;Dimensional Modeling: In a Business Intelligence Environment&lt;/a&gt;. The book is not intended to be an academic treatise, but a practical guide for implementing dimensional models oriented specifically to business intelligence systems.&lt;br /&gt;
&lt;br /&gt;
Particularly interesting are the case studies in Chapters 7 and 8 that walk you through BI implementations.&lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://www.redbooks.ibm.com/abstracts/sg247138.html?Open"&gt;Download it today&lt;/a&gt;... and enjoy it at your leisure.</description><link>http://www.db2portal.com/2008/05/new-ibm-redbook-on-dimensional-modeling.html</link><author>noreply@blogger.com (Craig S Mullins)</author></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-18371456.post-3970730100643404726</guid><pubDate>Thu, 22 May 2008 22:32:00 +0000</pubDate><atom:updated>2008-05-22T16:00:02.841-07:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>IDUG</category><category domain='http://www.blogger.com/atom/ns#'>user groups</category><category domain='http://www.blogger.com/atom/ns#'>Twitter</category><title>Another IDUG in the Books</title><description>Well, here it is late in the day on May 22, 2008 and the IDUG North American conference is officially over. And, of course, it was another successful conference!&lt;br /&gt;
&lt;br /&gt;
From the start of the festivities on Monday with the welcome address and keynote session (&lt;a href="http://conferences.idug.org/portals/1/2008/docs/Monday_GeneralSession_FINAL.pdf"&gt;which can be downloaded here&lt;/a&gt;) to the traditional IBM panel and closing session today, IDUG offered consistently high quality education and unparalleled networking opportunities for DB2 professionals.&lt;br /&gt;
&lt;br /&gt;
Usually I blog about the sessions I attend but this year I used Twitter instead to micro-blog the highlights of the sessions I attended right from the sessions using my Treo. I hope you followed my Twitter posts (Tweets, they're called). But even if you didn't it is not too late to follow me on Twitter at &lt;a href="http://www.twitter.com/craigmullins"&gt;www.twitter.com/craigmullins&lt;/a&gt;.&lt;br /&gt;
&lt;br /&gt;
One thing I would like to mention, though, is that it looks like the Special Interest Groups are finally being taken seriously. Used to be that the SIGs were put on the schedule late in the day and almost nobody showed up. This year, there were more SIGs and they were scheduled at better times throughout the day - and people showed up for them... and participated. I very much enjoyed participating as a subject matter expert in the Changing Role of the DBA SIG, and I attended a couple other SIGs that were very worthwhile, too!&lt;br /&gt;
&lt;br /&gt;
If you didn't get to the conference this year (or even if you did and missed a few sessions) IDUG will be making audio recordings from this year’s technical sessions available on the IDUG Online Learning Center in July 2008. Full-conference attendees get twelve complimentary downloads with their registration. If you did not attend, individual sessions can be downloaded for a nominal fee. You can &lt;a href="http://www.idug.org/learningcenter"&gt;check out the IDUG Online Learning Center here&lt;/a&gt; (again, that is where the session downloads will be).&lt;br /&gt;
&lt;br /&gt;
And if you just want to voyeuristically take a look at what you missed, you can check out photos from this year's conference online at &lt;a href="http://idug2008northamerica.site.shutterfly.com/"&gt;http://idug2008northamerica.site.shutterfly.com/&lt;/a&gt;.&lt;br /&gt;
&lt;br /&gt;
Thanks for another great event, IDUG... and hopefully we'll see you next year in Denver, CO (May 11-15, 2009).</description><link>http://www.db2portal.com/2008/05/another-idug-in-books.html</link><author>noreply@blogger.com (Craig S Mullins)</author></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-18371456.post-7382125178841792016</guid><pubDate>Wed, 14 May 2008 20:16:00 +0000</pubDate><atom:updated>2008-05-14T13:23:54.644-07:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>misc</category><category domain='http://www.blogger.com/atom/ns#'>IDUG</category><category domain='http://www.blogger.com/atom/ns#'>Twitter</category><title>Twitter</title><description>After listening to John Dvorak (on &lt;a href="http://www.crankygeeks.com/"&gt;Cranky Geeks&lt;/a&gt;) talk about Twitter I decided to try it out this week. And I quickly found some other DB2 folks out there twittering (Willie, Troy).&lt;br /&gt;
&lt;br /&gt;
I put up Twitter feeds on my &lt;a href="http://www.craigsmullins.com/"&gt;home page&lt;/a&gt; and here on my blog, too (it is over there on the right). I'm not sure if I'll stick with Twittering long-term, but I probably will - it is a bit addictive. If you want to try it out yourself, click on the follow me on Twitter link over on the right hand side of this page - or &lt;a href="http://twitter.com/craigmullins"&gt;click here &lt;/a&gt;if you don't want to be bothered tracking it down over there!&lt;br /&gt;
&lt;br /&gt;
I noticed, too, that Willie Favero will be twittering during the upcoming IDUG conference next week and since I can recognize a good idea when I hear/read/see one (good idea, Willie), I think I'll try it, too. So sign up on Twitter before next week if you want to virtually attend IDUG by following our twittering.</description><link>http://www.db2portal.com/2008/05/twitter.html</link><author>noreply@blogger.com (Craig S Mullins)</author></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-18371456.post-6800454466209594803</guid><pubDate>Mon, 12 May 2008 19:35:00 +0000</pubDate><atom:updated>2008-05-12T12:37:51.917-07:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>webinar</category><category domain='http://www.blogger.com/atom/ns#'>database archiving</category><title>Database Archiving Trends and Best Practices Webinar</title><description>Just a quick blog entry today to promote my upcoming webinar on May 30, 2008 titled &lt;a href="https://neonesoft.webex.com/mw0304l/mywebex/default.do?siteurl=neonesoft&amp;amp;service=6&amp;amp;main_url=%2Fec0509l%2Feventcenter%2Fmainframe.do%3Fmainurl%3Dhttps%253A%252F%252Fneonesoft.webex.com%252Fec0509l%252Feventcenter%252Fevent%252FeventAction.do%253FtheAction%253Ddetail%2526confViewID%253D282182750%2526siteurl%253Dneonesoft%26siteurl%3Dneonesoft"&gt;Database Archiving Trends and Best Practices&lt;/a&gt;.&lt;br /&gt;
&lt;br /&gt;
A variety of trends and issues are contributing to the growing requirement within enterprises to archive database data for long-term retention and preservation. This webinar will review the trends driving database archiving, including regulatory compliance issues, e-discovery, operational performance improvement, and retiring legacy applications. After examining the driving forces for database archiving, we will walk through the basic steps required to implement best practices based database archiving practice.&lt;br /&gt;
&lt;br /&gt;
If your databases are bursting at the seams, your organization is experiencing compliance-related troubles and/or lawsuits, or you need to figure out how to sunset an old database application or two, this presentation will provide guidance, advice, and a workable template for you to follow.&lt;br /&gt;
&lt;br /&gt;
&lt;a href="https://neonesoft.webex.com/mw0304l/mywebex/default.do?siteurl=neonesoft&amp;amp;service=6&amp;amp;main_url=%2Fec0509l%2Feventcenter%2Fmainframe.do%3Fmainurl%3Dhttps%253A%252F%252Fneonesoft.webex.com%252Fec0509l%252Feventcenter%252Fevent%252FeventAction.do%253FtheAction%253Ddetail%2526confViewID%253D282182750%2526siteurl%253Dneonesoft%26siteurl%3Dneonesoft"&gt;Enroll today&lt;/a&gt;!</description><link>http://www.db2portal.com/2008/05/database-archiving-trends-and-best.html</link><author>noreply@blogger.com (Craig S Mullins)</author></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-18371456.post-5224401181961171932</guid><pubDate>Mon, 28 Apr 2008 21:52:00 +0000</pubDate><atom:updated>2008-04-28T14:58:38.686-07:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>misc</category><category domain='http://www.blogger.com/atom/ns#'>user groups</category><category domain='http://www.blogger.com/atom/ns#'>tips and tricks</category><title>On the Road Again</title><description>If you live in or around Birmingham, Alabama or Dallas, Texas or Phoenix, Arizona I will be in your neck of the woods the next two weeks speaking at the local DB2 user groups.&lt;br /&gt;
&lt;br /&gt;
On April 30th, 2008 I'll be speaking at &lt;a href="http://www.alabamadb2usersgroup.org/"&gt;Alabama DB2 User Group&lt;/a&gt; on the topic of Managing Data For Long Retention Periods.&lt;br /&gt;
&lt;br /&gt;
Then, on May 2nd, I mosey on over to Dallas to speak on two topics at the &lt;a href="http://www.db2forum.com/"&gt;DB2 Forum&lt;/a&gt; meeting. I'll cover database auditing in one talk and the other will be my "famous" DB2 Top 10 Lists presentation.&lt;br /&gt;
&lt;br /&gt;
The following week, on May 8th, I'll be in Arizona to discuss The Impact of Regulatory Compliance on Database Administration at &lt;a href="http://www.lightyr.com/swarug/news.html"&gt;SWARUG&lt;/a&gt;.&lt;br /&gt;
&lt;br /&gt;
And in my last presentation before IDUG, I'll be giving a shortened version of the regulatory compliance presentation in my hometown of Houston, TX at the &lt;a href="http://www.techxans.org/houston.htm"&gt;Techxans: CIO Speaker Forum&lt;/a&gt;.&lt;br /&gt;
&lt;br /&gt;
So maybe I'll see you on the road... and, if not, I hope to see you in Dallas for &lt;a href="http://www.idug.org/"&gt;IDUG &lt;/a&gt;the week of May 18 thru 22, 2008. I've got a presenation on data breaches from a database perspective (4 PM on Tuesday), and I'll also be leading a Special Interest Group discussion on the changing role of the DBA (9:15 AM on Thursday). You can &lt;a href="http://conferences.idug.org/portals/1/2008/docs/IDUG_AP08_Links.pdf"&gt;see the entire agenda here &lt;/a&gt;on IDUG's web site.</description><link>http://www.db2portal.com/2008/04/on-road-again.html</link><author>noreply@blogger.com (Craig S Mullins)</author></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-18371456.post-3272320235196478106</guid><pubDate>Tue, 22 Apr 2008 20:28:00 +0000</pubDate><atom:updated>2008-04-22T13:37:55.518-07:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>misc</category><category domain='http://www.blogger.com/atom/ns#'>DB2 9</category><category domain='http://www.blogger.com/atom/ns#'>articles</category><title>My Most Recent DB2 Articles</title><description>Today I'm posting a quick blog entry to let my readers know about a couple of recent DB2-related articles/columns that I've had published. You can always keep up-to-date on my writings by visiting my web site at &lt;a href="http://www.craigsmullins.com/articles.htm"&gt;http://www.craigsmullins.com/articles.htm&lt;/a&gt;.&lt;br /&gt;
&lt;br /&gt;
Any way, the following three articles might be of interest to DB2 for z/OS folks:&lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://www.craigsmullins.com/zjdp_032.htm"&gt;Use Real Time Statistics to Automate Your Database Maintenance&lt;/a&gt; was published in the April/May 2008 issue of &lt;a href="http://www.zjournal.com/"&gt;zJournal&lt;/a&gt;. This article examines Real Time Statistics (RTS) and the benefits that can be accrued by using RTS. If you aren't using RTS yet, be sure to read this article to learn why you should!&lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://www.craigsmullins.com/dbu_0308.htm"&gt;Collecting Histogram Statistics With RUNSTATS &lt;/a&gt;was published in the March 2008 issue of &lt;a href="http://www.xephon.com/"&gt;DB2 Update&lt;/a&gt;. This article discusses one of the many new enhancements that have found their way into DB2 9 for z/OS -- the ability to gather histogram statistics with the IBM RUNSTATS utility.&lt;br /&gt;
&lt;br /&gt;
And finally, the February/March 2008 issue of zJournal contains &lt;a href="http://www.craigsmullins.com/zjdp_031.htm"&gt;Much Ado About DB2 Locking.&lt;/a&gt; This installation of the &lt;a href="http://www.craigsmullins.com/zdata.htm"&gt;z/Data Perspectives&lt;/a&gt; column takes a look at the most recent, new locking-related features of DB2 for z/OS.&lt;br /&gt;
&lt;br /&gt;
Happy reading!</description><link>http://www.db2portal.com/2008/04/my-most-recent-db2-articles.html</link><author>noreply@blogger.com (Craig S Mullins)</author></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-18371456.post-945880149453394570</guid><pubDate>Thu, 17 Apr 2008 21:14:00 +0000</pubDate><atom:updated>2008-04-18T22:42:06.125-07:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>mainframe</category><title>The Mainframe Still Rocks!</title><description>&lt;a href="http://www.mainframe-exec.com/"&gt;Mainframe Executive&lt;/a&gt;, a new publication for CIOs and IT managers in enterprises with IBM mainframe systems, just published a list of &lt;a href="http://www.mainframe-exec.com/articles/?p=12"&gt;15 reasons to stay on, or move to, a mainframe&lt;/a&gt;. The list is a good one, covering reliability, availability, security, resource utilization, scalability, power consumption, staffing concerns, quality, and on and on.&lt;br /&gt;
&lt;br /&gt;
Here is the list for those not inclined to click on the link:&lt;br /&gt;
&lt;br /&gt;
1. Lowest outage costs from highest platform reliability, availability, and serviceability.&lt;br /&gt;
2. Lowest security breach risks/costs via most secure design, encryption, etc.&lt;br /&gt;
3. Highest resource use efficiency/utilization for mixed commercial workloads.&lt;br /&gt;
4. Widest platform scalability supports any workload size, mix, growth.&lt;br /&gt;
5. Consolidates many new workloads, extends traditional workload strengths.&lt;br /&gt;
6. Top data-serving capacity, performance, value—best Information on Demand host.&lt;br /&gt;
7. Highest QoS, best performance with fastest response times.&lt;br /&gt;
8. Best enterprise SOA platform; enables fullest reuse of mainframe application assets.&lt;br /&gt;
9. Much-improved cost model transformed mainframe economics.&lt;br /&gt;
10. Lowest power consumption, cooling, and data center floor space needs.&lt;br /&gt;
11. Lowest staffing and support costs for enterprise workloads.&lt;br /&gt;
12. Lowest total cost of ownership, total cost per user, and total cost per transaction.&lt;br /&gt;
13. Best customer investment protection for any enterprise platform.&lt;br /&gt;
14. Lowest business risk platform with best world class support.&lt;br /&gt;
15. Healthy, expanding mainframe ecosystem is supporting the platform.&lt;br /&gt;
&lt;br /&gt;
If you are a mainframer this list won't come as any surprise to you... but it can be handy to keep it readily available for the next time someone attempts to convince you that mainframes are already obsolete, or should be.&lt;br /&gt;
&lt;br /&gt;
In fact, maybe you can come up with additional reasons. After reading the list (&lt;a href="http://www.mainframe-exec.com/articles/?p=12"&gt;http://www.mainframe-exec.com/articles/?p=12&lt;/a&gt;) feel free to submit comments here with any additional reasons you might come up with!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;em&gt;Also, for those who don't know, Mainframe Executive is published by Thomas Communications, the same folks who publish the excellent bi-monthly &lt;/em&gt;&lt;a href="http://www.zjournal.com/"&gt;&lt;em&gt;z/Journal.&lt;/em&gt;&lt;/a&gt;</description><link>http://www.db2portal.com/2008/04/mainframe-still-rocks.html</link><author>noreply@blogger.com (Craig S Mullins)</author></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-18371456.post-831361561374662252</guid><pubDate>Thu, 10 Apr 2008 19:11:00 +0000</pubDate><atom:updated>2008-04-14T19:59:09.881-07:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>tips and tricks</category><category domain='http://www.blogger.com/atom/ns#'>table expressions</category><title>Consider Table Expressions to Improve Performance</title><description>Table expressions are frequently overlooked as a potential solution for resolving problems using only SQL. Table expressions can be used to force the optimizer to choose a specific processing order.&lt;br /&gt;
&lt;br /&gt;
For example, consider the following query:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style="font-family:courier new;"&gt;&lt;pre&gt;&lt;br /&gt;
SELECT D.DEPTNO,&lt;br /&gt;
       MIN(D.DEPTNAME) AS DEPT_NAME,&lt;br /&gt;
       MIN(D.LOCATION) AS DEPT_LOCATION,&lt;br /&gt;
       SUM(E.SALARY) AS TOTAL_SALARY&lt;br /&gt;
FROM   DEPT D,&lt;br /&gt;
       EMP E&lt;br /&gt;
WHERE  D.DEPTNO = E.WORKDEPT&lt;br /&gt;
AND    E.BONUS BETWEEN 0.00 AND 1000.00&lt;br /&gt;
GROUP BY D.DEPTNO;&lt;/span&gt;&lt;/pre&gt;&lt;br /&gt;
In this query, the detail rows that qualify from each table are joined prior to the GROUP BY processing. In general, there will be more EMP rows than DEPT rows because a department comprises multiple employees. Suppose there were 200 DEPT rows joined to 75,000 EMP rows. The join is done and then the GROUP BY is processed.&lt;br /&gt;
&lt;br /&gt;
Instead, you can use table expressions to force the optimizer to process the aggregations on a table-by-table basis:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style="font-family:courier new;"&gt;&lt;pre&gt;&lt;br /&gt;
SELECT D.DEPTNO,&lt;br /&gt;
       D.DEPTNAME,&lt;br /&gt;
       D.LOCATION,&lt;br /&gt;
       E.TOTAL_SALARY&lt;br /&gt;
FROM   DEPT D,&lt;br /&gt;
       (SELECT WORKDEPT, SUM(SALARY) AS TOTAL_SALARY&lt;br /&gt;
        FROM EMP E&lt;br /&gt;
        WHERE E.BONUS BETWEEN 0.00 and 1000.00&lt;br /&gt;
        GROUP BY E.WORKDEPT) AS E&lt;br /&gt;
WHERE  D.DEPTNO = E.WORKDEPT;&lt;br /&gt;
&lt;/pre&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This will produce the same results but it should perform better.&lt;br /&gt;
&lt;br /&gt;
In general, consider using table expressions to pre-filter FULL JOIN tables, to pre-filter null supplying tables of LEFT/RIGHT joins, to separate GROUP BY work, and to generate or derive data.</description><link>http://www.db2portal.com/2008/04/consider-table-expressions-to-improve.html</link><author>noreply@blogger.com (Craig S Mullins)</author></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-18371456.post-6033504946457120907</guid><pubDate>Thu, 27 Mar 2008 17:55:00 +0000</pubDate><atom:updated>2008-03-27T11:04:45.042-07:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>stored procedures</category><category domain='http://www.blogger.com/atom/ns#'>RedBook</category><category domain='http://www.blogger.com/atom/ns#'>V9</category><title>Updated Stored Procedure RedBook for DB2 V9</title><description>If you are a stored procedure developer, or a DBA who manages a system with stored procedures - - and you are running DB2 9 for z/OS - - there is an updated RedBook you should download immediately. It is titled &lt;a href="http://www.redbooks.ibm.com/abstracts/sg247604.html"&gt;DB2 9 for z/OS Stored Procedures: Through the CALL and Beyond&lt;/a&gt;. You may have the previous edition, DB2 for z/OS Stored Procedures: Through the CALL and Beyond (SG24-7083)...&lt;br /&gt;
&lt;br /&gt;
This new edition of an all-time favorite RedBook is newly updated to show the changes that have happened to DB2 stored procedures and related tools from V8 to V9. It offers examples and guidelines for developing stored procedures in several languages. You will also find many useful recommendations for setting up and tuning your environment for stored procedures in this free-to-download manual.&lt;br /&gt;
&lt;br /&gt;
And if you are looking for some "stuff" on using Data Studio with stored procedures, this is the place to go... so, it is time to update by &lt;a href="http://www.redbooks.ibm.com/abstracts/sg247604.html"&gt;downloading this new edition today&lt;/a&gt;!</description><link>http://www.db2portal.com/2008/03/updated-stored-procedure-redbook-for.html</link><author>noreply@blogger.com (Craig S Mullins)</author></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-18371456.post-5369416053609341456</guid><pubDate>Wed, 19 Mar 2008 15:23:00 +0000</pubDate><atom:updated>2008-03-19T08:28:49.443-07:00</atom:updated><title>DB2 Developer's Guide Tops Book Poll</title><description>I learned of some good news today. Evidently my DB2 book, &lt;a href="http://www.amazon.com/dp/0672326132?tag=mullinassoci-20&amp;amp;camp=14573&amp;amp;creative=327641&amp;amp;linkCode=as1&amp;amp;creativeASIN=0672326132&amp;amp;adid=05VB4PVBD8RW7FWZS55W&amp;amp;"&gt;DB2 Developer’s Guide&lt;/a&gt;, recently won the &lt;a href="http://www.ibmdatabasemag.com/poll_results/0801poll.shtml"&gt;favorite book poll conducted by IBM Database Magazine &lt;/a&gt;(formerly DB2 Magazine) a couple of months ago… and it won by a substantial margin.&lt;br /&gt;
&lt;center&gt;&lt;br /&gt;
&lt;a href="http://www.amazon.com/dp/0672326132?tag=mullinassoci-20&amp;amp;camp=14573&amp;amp;creative=327641&amp;amp;linkCode=as1&amp;amp;creativeASIN=0672326132&amp;amp;adid=05VB4PVBD8RW7FWZS55W&amp;amp;"&gt;&lt;IMG SRC="http://www.craigsmullins.com/images/DDG%205e%20cover%200672326132.jpg" width=225&gt;&lt;/a&gt;&lt;br /&gt;
&lt;/center&gt;&lt;br /&gt;
&lt;b&gt;Thanks to everyone who voted for my book… I appreciate your support.&lt;/b&gt;</description><link>http://www.db2portal.com/2008/03/db2-developers-guide-tops-book-poll.html</link><author>noreply@blogger.com (Craig S Mullins)</author></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-18371456.post-8808383580870406053</guid><pubDate>Tue, 18 Mar 2008 15:24:00 +0000</pubDate><atom:updated>2008-03-18T08:33:33.254-07:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>misc</category><category domain='http://www.blogger.com/atom/ns#'>eBook</category><title>Free Downloadable eBook from IBM Press</title><description>&lt;p&gt;Pearson and IBM Press have just published a new eBook on IBM database technology that is available for free download. Just &lt;a href="http://www.ibmpressbooks.com/promotions/promotion.asp?promo=136211"&gt;follow this link&lt;/a&gt;, provide your e-mail, and they’ll direct you to a PDF containing sample chapters from six recently published books.&lt;/p&gt;&lt;p&gt;The information in the eBook comes from the following books:&lt;/p&gt;&lt;ul&gt;&lt;li&gt;&lt;a href="http://www.amazon.com/gp/product/0131580183/102-4348520-4698555?ie=UTF8&amp;amp;tag=mullinassoci-20&amp;amp;linkCode=xm2&amp;amp;camp=1789&amp;amp;creativeASIN=0131580183"&gt;Understanding DB2: Learning Visually With Examples, Second Edition by Chong, Wang, Dang, and Snow&lt;/a&gt; - Chapter 2: DB2 at a Glance: The Big Picture&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.amazon.com/gp/product/013185514X/102-4348520-4698555?ie=UTF8&amp;amp;tag=mullinassoci-20&amp;amp;linkCode=xm2&amp;amp;camp=1789&amp;amp;creativeASIN=013185514X"&gt;DB2 9 for Linux, UNIX, and Windows, Sixth Edition by Baklarz &amp;amp; Zikopoulos &lt;/a&gt;- Chapter 8: pureXML Storage Engine&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.amazon.com/gp/product/0131345907/102-4348520-4698555?ie=UTF8&amp;amp;tag=mullinassoci-20&amp;amp;linkCode=xm2&amp;amp;camp=1789&amp;amp;creativeASIN=0131345907"&gt;Understanding DB2 9 Security by Bond, See, Wong &amp;amp; Chan &lt;/a&gt;- Chapter 11: Database Security — Keeping It Current&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.amazon.com/gp/product/B000OISCGC/102-4348520-4698555?ie=UTF8&amp;amp;tag=mullinassoci-20&amp;amp;linkCode=xm2&amp;amp;camp=1789&amp;amp;creativeASIN=B000OISCGC"&gt;DB2 SQL PL: Essential Guide for DB2 UDB on Linux, UNIX, Windows, iSeries by Janmohamed, et al &lt;/a&gt;- Chapter 3: Overview of SQL PL Language Elements&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.amazon.com/gp/product/0132339536/102-4348520-4698555?ie=UTF8&amp;amp;tag=mullinassoci-20&amp;amp;linkCode=xm2&amp;amp;camp=1789&amp;amp;creativeASIN=0132339536"&gt;Mining the Talk by Spangler &amp;amp; Kreulen &lt;/a&gt;- Chapter 5: Mining to Improve Innovation&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.amazon.com/gp/product/0131856715/102-4348520-4698555?ie=UTF8&amp;amp;tag=mullinassoci-20&amp;amp;linkCode=xm2&amp;amp;camp=1789&amp;amp;creativeASIN=0131856715"&gt;An Introduction to IMS by Meltz, et al &lt;/a&gt;- Chapter 18: Application Programming in Java&lt;/li&gt;&lt;/ul&gt;IBM Press is also offering a 35% discount on these, and other selected titles. But in some cases, the amazon discount is greater than 35%, so if you'd rather buy from amazon.com, simply follow the links in the bulleted list above.&lt;br /&gt;
&lt;br /&gt;
But make sure you &lt;a href="http://www.ibmpressbooks.com/promotions/promotion.asp?promo=136211"&gt;download that free eBook&lt;/a&gt;... after all, what is better than free?</description><link>http://www.db2portal.com/2008/03/free-downloadable-ebook-from-ibm-press.html</link><author>noreply@blogger.com (Craig S Mullins)</author></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-18371456.post-7965861590322739384</guid><pubDate>Mon, 03 Mar 2008 20:26:00 +0000</pubDate><atom:updated>2008-03-18T08:22:28.570-07:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>Q+A</category><title>Q+A: Nulls and DASD</title><description>Recently, I received the following question, which I will answer today on this blog posting.&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;Question&lt;/strong&gt;: Lets say I have a table A which has 500 columns. Out of those 500 columns only 5 columns have been defined as not nullable and the rest have been defined as NULLS allowed. And out of those 500 columns I have found that 300 columns are unused(empty) totally. My business allows me to remove those 300 columns. My doubt is if I remove those 300 empty columns will I save on DASD space occupied by DB2? Will empty columns occupy DASD space?Would be really helpful if you can guide me on this.&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;Answer&lt;/strong&gt;: I'm happy to try to help out. First of all, the short answer to your question is "&lt;strong&gt;Yes!&lt;/strong&gt;" Those 500 columns are all consuming valuable disk space. To determine how much space is being consumed, you will need to examine the data type and length assigned to each column and add them up. And to make matters worse, you must add an additional 1 byte to each of them because the columns are nullable.&lt;br /&gt;
&lt;br /&gt;
In DB2, a NULL is stored using a special one-byte null indicator that is "attached" to every nullable column. If the column is set to NULL, then the indicator field is used to record this. Using NULL will never save space in a DB2 database design - in fact, it will always add an extra byte for every column that can be NULL. The byte is used whether or not the column is actually set to NULL.&lt;br /&gt;
&lt;br /&gt;
So, a column defined as CHAR(5) NOT NULL will required five bytes of storage space - but if it is defined as nullable, then it requires six bytes of storage space - five bytes for the data, and one byte for the null indicator.&lt;br /&gt;
&lt;br /&gt;
Given all of this, it would seem that there is a very viable case to be made for you to remove those columns that are not being used. Of course, this means that you will likely have to make changes to any programs accessing that table. Because the table definition will change (fewer columns) you will need new DCLGENs and those will have to be included and bound into your programs. Be sure to factor this additional workload into your planning before moving forward with this change.&lt;br /&gt;
&lt;br /&gt;
The better question to ask is "How the heck did all of the empty columns get put into the table to begin with and how did that design get past the DBAs?"&lt;br /&gt;
&lt;br /&gt;
&lt;em&gt;If you have an answer for that one, please share it by posting your answer in a comment here!&lt;/em&gt;</description><link>http://www.db2portal.com/2008/03/qa-nulls-and-dasd.html</link><author>noreply@blogger.com (Craig S Mullins)</author></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-18371456.post-7661535845006603709</guid><pubDate>Wed, 20 Feb 2008 17:02:00 +0000</pubDate><atom:updated>2008-02-20T09:14:42.639-08:00</atom:updated><title>Let's Hear It for COBOL!</title><description>I know that this blog is supposed to be primarily about DB2, but I like to sneak in mainframe-related topics from time to time. And I read a great article today in Computerworld that I want to share with you. The article, titled &lt;a href="http://www.computerworld.com/action/article.do?command=viewArticleBasic&amp;amp;articleId=9062478&amp;amp;source=NLT_AM&amp;amp;nlid=1"&gt;Confession of a COBOL Programmer&lt;/a&gt;, talks up the need for COBOL coders. Just like with other mainframe technologies, as the baby boomers retire there is an insufficient supply of newbies available to step in and continue the care and feeding of the COBOL legacy.&lt;br /&gt;
&lt;br /&gt;
I've written briefly about COBOL before, in my &lt;a href="http://www.neonesoft.com/blog/blogs/cmullins/default.aspx"&gt;Data Management Today&lt;/a&gt; blog. COBOL is still all over the place and in no danger of dying off. According to the Computerworld article, 75% of the world's businesses data is still processed in COBOL, and about 90% of all financial transactions are in COBOL.&lt;br /&gt;
&lt;br /&gt;
Yet there is a lingering perception "out there" that COBOL is dead (or at least dying). And as far as graduating seniors and new programmers are concerned, COBOL ain't cool! New programmers don't want to learn it and most universities don't teach it in their computer science or information science curricula. Just like the mainframe (which is alive and well, too), COBOL is ignored and a big problem is developing.&lt;br /&gt;
&lt;br /&gt;
Analysts at Gartner estimate that there are 180 billion lines of COBOL code in existence and about 90,000 COBOL programmers. To convert all of that to something else "&lt;a href="http://www.computerworld.com/action/article.do?command=viewArticleBasic&amp;amp;articleId=9004821&amp;amp;pageNumber=2"&gt;each programmer will require 100,000 hours to complete the conversion of 2 million lines. That works out to 12,500 eight-hour workdays. If we figure 250 workdays per year (though it’s unlikely any Cobol programmers are settling for just two weeks of vacation per year), these guys should be done in 50 years.&lt;/a&gt;"&lt;br /&gt;
&lt;br /&gt;
Who knows, when I retire (sometime in the far-off future) maybe I'll hang up a shingle and offer my services as a COBOL coder... after all, that is what I started out doing right out of college (all those years ago)...</description><link>http://www.db2portal.com/2008/02/lets-hear-it-for-cobol.html</link><author>noreply@blogger.com (Craig S Mullins)</author></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-18371456.post-7938138547734835663</guid><pubDate>Tue, 05 Feb 2008 17:34:00 +0000</pubDate><atom:updated>2008-03-18T08:10:46.667-07:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>DB2 9</category><title>Intelligent Automatic Reoptimization? [DB2 9 for z/OS]</title><description>Most seasoned SQL programmers know that when you use host variables, DB2 may not always come up with the absolutely most optimal access path at bind time. Without knowing the actual values of the host variables the optimizer has to make some best guesses as to how best to satisfy the SQL request.&lt;br /&gt;
&lt;br /&gt;
Furthermore, we know that we can guide DB2 on how best to approach this situation using the REOPT parameter of the BIND command. Prior to DB2 V9, there were three options for REOPT:&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;REOPT(NONE)&lt;/strong&gt; – DB2 will not reoptimize SQL at run time.&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;REOPT(ALWAYS)&lt;/strong&gt; – DB2 will prepare SQL statements again at run time when the host variable values are known. This enables the DB2 optimizer to formulate the query execution plan using the actual host variable values, which can result in better performing access paths.&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;REOPT(ONCE)&lt;/strong&gt; – DB2 will prepare SQL statements only once, using the first set of host variable values, no matter how many times the statement is executed by the program. The access path is stored in the Dynamic Statement Cache (DSC) and will be used for all subsequent executions of the same SQL statement. REOPT(ONCE) only applies to dynamic SQL statements and is ignored if you use it with static SQL statements. This option was introduced in DB2 V8.&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;What is New in V9?&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
DB2 9 for z/OS introduces a new REOPT option: &lt;strong&gt;REOPT(AUTO)&lt;/strong&gt;. The ideas behind REOPT(AUTO) is to come up with the optimal access path in the minimum number of prepares.&lt;br /&gt;
&lt;br /&gt;
The basic premise of REOPT(AUTO) is to re-optimize only when host variable values change. Using this option, DB2 will examine the host variable values and will generate new access paths only when host variable values change and DB2 has not already generated an access path for those values.&lt;br /&gt;
&lt;br /&gt;
REOPT(AUTO) only applies to dynamic statements that can be cached.&lt;br /&gt;
&lt;br /&gt;
After migrating to DB2 9, consider re-evaluating programs bound specifying REOPT(ALWAYS) and REOPT(NONE). In many cases, switching to REOPT(AUTO) from REOPT(ALWAYS) can produce performance improvement; and in some cases you can use re-optimization with REOPT(AUTO) for programs bound REOPT(NONE) because of the fear of too frequent re-optimization causing a performance hit.&lt;br /&gt;
&lt;br /&gt;
In particular, consider specifying REOPT(AUTO) for SQL statements that at times can take a relatively long time to execute, depending on the values of parameter markers. In particular, you should especially consider doing this when parameter markers refer to non-uniform data that is joined to other tables.</description><link>http://www.db2portal.com/2008/02/intelligent-automatic-reoptimization.html</link><author>noreply@blogger.com (Craig S Mullins)</author></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-18371456.post-104552925236595951</guid><pubDate>Fri, 25 Jan 2008 16:51:00 +0000</pubDate><atom:updated>2008-01-25T08:55:14.149-08:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>Dynamic SQL</category><category domain='http://www.blogger.com/atom/ns#'>V9</category><category domain='http://www.blogger.com/atom/ns#'>V8</category><category domain='http://www.blogger.com/atom/ns#'>REBIND</category><title>Get Control of Access Path Changes for Dynamic SQL when Migrating to a New Version of DB2</title><description>Are you making plans to migrate to a new version of DB2? Do you know what impact the access changes for dynamic SQL will have on performance? When migrating to a new DB2 version, access path changes for dynamic SQL are unpredictable – as is the impact those changes will have on application performance. Learn how you can use &lt;a href="http://www.neonesoft.com/BAI.shtm"&gt;Bind ImpactExpert&lt;/a&gt; to eliminate the unwanted surprises in version migration by performing a “precheck” on dynamic SQL access path changes.&lt;br /&gt;
&lt;br /&gt;
This &lt;a href="https://neonesoft.webex.com/mw0304l/mywebex/default.do?siteurl=neonesoft&amp;amp;service=6&amp;amp;main_url=%2Fec0509l%2Feventcenter%2Fmainframe.do%3Fmainurl%3Dhttps%253A%252F%252Fneonesoft.webex.com%252Fec0509l%252Feventcenter%252Fevent%252FeventAction.do%253FtheAction%253Ddetail%2526confViewID%253D281502335%2526siteurl%253Dneonesoft%26siteurl%3Dneonesoft"&gt;webinar &lt;/a&gt;will be presented by myself (Craig Mullins) and Joe Brockert, Sr. Software Consultant for NEON Enterprise Software. We'll discuss the issues associated with dynamic SQL during a DB2 migration and offer a live demo of Bind ImpactExpert. Join us to see the solution that provides predictability in access path changes.&lt;br /&gt;
&lt;br /&gt;
&lt;a href="https://neonesoft.webex.com/mw0304l/mywebex/default.do?siteurl=neonesoft&amp;amp;service=6&amp;amp;main_url=%2Fec0509l%2Feventcenter%2Fmainframe.do%3Fmainurl%3Dhttps%253A%252F%252Fneonesoft.webex.com%252Fec0509l%252Feventcenter%252Fevent%252FeventAction.do%253FtheAction%253Ddetail%2526confViewID%253D281502335%2526siteurl%253Dneonesoft%26siteurl%3Dneonesoft"&gt;Enroll by clicking on this link.&lt;/a&gt;</description><link>http://www.db2portal.com/2008/01/get-control-of-access-path-changes-for.html</link><author>noreply@blogger.com (Craig S Mullins)</author></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-18371456.post-4943324481763202722</guid><pubDate>Wed, 16 Jan 2008 19:59:00 +0000</pubDate><atom:updated>2008-03-18T08:11:47.930-07:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>Q+A</category><category domain='http://www.blogger.com/atom/ns#'>locking</category><title>Q+A: Locking</title><description>I get questions e-mailed to me all the time. Although I try to read and answer them all, sometimes I don't. I hope those whom I've ignored over the years will forgive me, but I can't always answer everything (not enough time/energy) and sometimes things get lost or drop through the cracks.&lt;br /&gt;
&lt;br /&gt;
Anyway, at times I will take a question I get and blog about it in Q+A format. Today is one of those days!&lt;br /&gt;
&lt;br /&gt;
The question was: I want to perform a retry on an INSERT under DB2 Z/OS when I get a deadlock/timeout. -911 causes a rollback automatically. Is there a ZPARM or other method of turning this off? I am inserting millions of rows and do not want a rollback to the last commit point.&lt;br /&gt;
&lt;br /&gt;
Here is my answer:&lt;br /&gt;
&lt;br /&gt;
Well, first of all, let me recommend that you minimize the size of your unit of work. If you are inserting millions of rows without a COMMIT you are likely causing locking issues in your environment. The pages you have locked while you are waiting for your millions of inserts to finish are all unavailable to any other user of the table (assuming page locking). That means any data on any page that you have locked cannot be read by anyone else until your unit of work is committed. Any other user, running at the same time as you are, trying to get to any page you have modified, would be getting -911 too.&lt;br /&gt;
&lt;br /&gt;
That being said, you can control whether or not the work is rolled back automatically in CICS (on a thread basis) using an RDO parameter (or RCT if on an ancient CICS). The parameter is called ROLBE (RCT) or DROLLBACK (RDO). If it is set to YES a CICS SYNCPOINT ROLLBACK is issued and a -911 SQLCODE is returned to the program. If NO is coded, a CICS SYNCPOINT ROLLBACK is not issued and the SQLCODE is set to -913. You will have to programmatically either specify COMMIT or ROLLBACK for the unit of work.&lt;br /&gt;
&lt;br /&gt;
In a batch environment you will need to code your programs to periodically issue COMMITs after so many modifications (or using some other method like a timer or loop counter). There is no method I am aware of to automatically control this behavior outside of looking into a third party product (for example, &lt;a href="http://www.softbase.com/sbprod3.php"&gt;Softbase Checkpoint Restart&lt;/a&gt;, and others).</description><link>http://www.db2portal.com/2008/01/qa-locking.html</link><author>noreply@blogger.com (Craig S Mullins)</author></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-18371456.post-4891449153881198209</guid><pubDate>Wed, 16 Jan 2008 17:54:00 +0000</pubDate><atom:updated>2008-01-16T10:28:05.659-08:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>misc</category><title>Blog Tagged</title><description>I have been blog tagged by Willie Favero. Don't worry, its not as painful as it sounds!&lt;br /&gt;
&lt;br /&gt;
Basically, &lt;a href="http://pulverblog.pulver.com/archives/006087.html"&gt;blog-tagging &lt;/a&gt;is a game, of sorts, that has been crawling its way through the blogosphere for awhile now. The way it works, when you are tagged by another blogger, you have to write a blog posting about yourself, with 8 things that others might not know. . . and then tag 8 other bloggers.&lt;br /&gt;
&lt;br /&gt;
So here goes:&lt;br /&gt;
&lt;ol&gt;&lt;li&gt;I am an avid music fan. At last count, I have 5,281 CDs and albums (yes, I still have records). I know exactly how many I have because, geek that I am, I keep a list of them in a Filemaker database that I sync up with my Treo. I need that list on my Treo because, without it, I have been known to buy a CD I already own.&lt;/li&gt;&lt;li&gt;I currently live in Texas, but I was born and raised in Pittsburgh, PA. Go &lt;a href="http://www.nfl.com/teams/pittsburghsteelers/profile?team=PIT"&gt;Steelers&lt;/a&gt; (we'll get 'em next year)! My Mom, my brother, and his family still live in the Pittsburgh area and I get back to visit them at least once a year.&lt;/li&gt;&lt;li&gt;I've also lived in the Chicago area. When people ask how I like it in Texas after living up North for so long, I tell 'em "I like it. I basically traded snow for humidity, and you don't have to shovel humidity!"&lt;/li&gt;&lt;li&gt;I've written two books - &lt;a href="http://www.amazon.com/dp/0672326132?tag=mullinassoci-20&amp;amp;camp=14573&amp;amp;creative=327641&amp;amp;linkCode=as1&amp;amp;creativeASIN=0672326132&amp;amp;adid=03SQGJBRSAPA684FR953&amp;amp;"&gt;DB2 Developer's Guide &lt;/a&gt;and &lt;a href="http://www.amazon.com/dp/0201741296?tag=mullinassoci-20&amp;amp;camp=14573&amp;amp;creative=327641&amp;amp;linkCode=as1&amp;amp;creativeASIN=0201741296&amp;amp;adid=10XG8SJ9H5DR59BEHA5Q&amp;amp;"&gt;Database Administration: The Complete Guide to Practices &amp;amp; Procedures&lt;/a&gt;... and I'm working on co-authoring another one on DB2 performance.&lt;/li&gt;&lt;li&gt;I'm married, and I met my wife while working at &lt;a href="http://en.wikipedia.org/wiki/Platinum_Technology"&gt;PLATINUM technology&lt;/a&gt;. Remember them? A lot of good things happened during my days at PLATINUM! In fact...&lt;/li&gt;&lt;li&gt;At one point, I used to write those monthly DB2 tips you DB2 people used to get in the mail from PLATINUM.&lt;/li&gt;&lt;li&gt;I currently write &lt;a href="http://www.craigsmullins.com/articles.htm"&gt;four different columns &lt;/a&gt;for industry publications, as well as &lt;a href="http://www.craigsmullins.com/blogs.htm"&gt;several blogs&lt;/a&gt;. &lt;/li&gt;&lt;li&gt;I own a dog, an &lt;a href="http://en.wikipedia.org/wiki/English_Springer_Spaniel"&gt;English springer spaniel &lt;/a&gt;named Jerry... I call him my Jerry Springer spaniel... and two cockatiels.&lt;/li&gt;&lt;/ol&gt;&lt;p&gt;OK, I guess that means I now have to tag eight others. Willie beat me to the punch on a lot of my favorite DB2 bloggers, though. So I'll tag &lt;a href="http://talk.bmc.com/blogs/blog-parmstrong/peter-armstrong/"&gt;Peter Armstrong&lt;/a&gt;, &lt;a href="http://www.dbazine.com/blogs/blog-cf/chrisfoot/"&gt;Chris Foot&lt;/a&gt;, &lt;a href="http://blogs.ittoolbox.com/database/technology"&gt;Chris Eaton&lt;/a&gt;, &lt;a href="http://mainframeupdate.blogspot.com/"&gt;Trevor Eddolls&lt;/a&gt;, &lt;a href="http://www.neonesoft.com/blog/blogs/dmoore/default.aspx"&gt;Dave Moore&lt;/a&gt;, &lt;a href="http://blogs.ittoolbox.com/database/geek"&gt;Phil Nelson&lt;/a&gt;, &lt;a href="http://db2news.blogspot.com/"&gt;Fred Sobotka&lt;/a&gt;, and &lt;a href="http://blogs.ittoolbox.com/database/sql"&gt;Ralph Wilson&lt;/a&gt;. &lt;/p&gt;&lt;p&gt;You folks are now "it"... &lt;/p&gt;</description><link>http://www.db2portal.com/2008/01/blog-tagged.html</link><author>noreply@blogger.com (Craig S Mullins)</author></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-18371456.post-3273416756793213348</guid><pubDate>Tue, 15 Jan 2008 22:29:00 +0000</pubDate><atom:updated>2008-01-15T14:42:01.986-08:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>mainframe</category><title>History of the Mainframe</title><description>While researching some items on the web I ran across a couple of interesting mainframe-related sites that I'd like to share with you.&lt;br /&gt;
&lt;br /&gt;
First up, on The History of Computing Project's site, is this entertaining and informative &lt;a href="http://www.thocp.net/hardware/mainframe.htm"&gt;timeline of mainframe history&lt;/a&gt;. The timeline starts in 1939 with the creation of the &lt;a href="http://www.thocp.net/hardware/abc.html"&gt;Atanasoff-Berry Computer&lt;/a&gt; at Iowa State. If you are looking for historical events in the life of the mainframe, then this is a good place to start. It contains links to information about, and pictures of, some early mainframes including the &lt;a href="http://www.thocp.net/hardware/eniac.htm"&gt;ENIAC &lt;/a&gt;and the &lt;a href="http://www.thocp.net/hardware/ibm_701.htm"&gt;IBM 701&lt;/a&gt;.&lt;br /&gt;
&lt;br /&gt;
Another &lt;a href="http://www.sei.cmu.edu/str/descriptions/mssa_body.html"&gt;interesting mainframe-related page &lt;/a&gt;is at Carnegie-Mellon's Software Engineering Institute site. I point it out not because I agree with the "stuff" written there, but because I find it amusing to see the word "LEGACY" stamped over every inch of the page. Wise up! The mainframe is not just legacy, folks!&lt;br /&gt;
&lt;br /&gt;
And finally a nice little article with the proper perspective on mainframe architecture from IBM. I particularly liked the way this article ended:&lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://publib.boulder.ibm.com/infocenter/zoslnctr/v1r7/index.jsp?topic=/com.ibm.zconcepts.doc/zconc_evolvarch.html"&gt;As the image of the mainframe computer continues to evolve, you might ask: Is the mainframe computer a self-contained computing environment, or is it one part of the puzzle in distributed computing? The answer is that The New Mainframe is both...&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://www.thocp.net/hardware/mainframe.htm"&gt;&lt;/a&gt;</description><link>http://www.db2portal.com/2008/01/history-of-mainframe.html</link><author>noreply@blogger.com (Craig S Mullins)</author></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-18371456.post-1750304034116827965</guid><pubDate>Wed, 09 Jan 2008 19:51:00 +0000</pubDate><atom:updated>2008-01-09T11:53:51.085-08:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>ALTER</category><category domain='http://www.blogger.com/atom/ns#'>V9</category><category domain='http://www.blogger.com/atom/ns#'>storage</category><category domain='http://www.blogger.com/atom/ns#'>DDL</category><title>STOGROUPs and SMS [DB2 9 for z/OS]</title><description>&lt;p&gt;With today’s posting we return to our examination of the new features of DB2 9 for z/OS. With V9, DB2 storage groups can be better integrated with SMS storage classes.&lt;/p&gt;&lt;p&gt;Prior to DB2 9, you could only spcify SMS storage classes, data classes, and management classes when using explicit IDCAMS defines. You could use those SMS specifications with your SMS ACS routings, but ACS routines filter on data set names, so those routines could become large and unwieldy if you defined multiple different combinations for different data sets.&lt;/p&gt;&lt;p&gt;The improvement in DB2 9 modifies the CREATE and ALTER STOGROUP statements to utilize SMS classes. This can greatly improve ease-of-use by minimizing the manual effort involved in managing DB2 data sets using DFSMS.&lt;/p&gt;&lt;p&gt;There are three new keywords in the CREATE STOGROUP syntax. You can specify just one, two or even all three of them on one CREATE STOGROUP statement:&lt;/p&gt;&lt;ul&gt;&lt;li&gt;DATACLAS - influences characteristics such as the data set control block (DCB), striping, extended format usage, extended addressability usage and so on.&lt;br /&gt;
&lt;/li&gt;&lt;li&gt;MGMTCLAS – defines data set frequency of volume backups, migration requirement and related tasks.&lt;br /&gt;
&lt;/li&gt;&lt;li&gt;STORCLAS - define guaranteed spaced and other requirements.&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;&lt;br /&gt;
DB2 will not check to verify that the data class, management class, or storage class specified actually exist. In that regard, the parameters are designed to work the same way that the VCAT and VOLUMES parameters have always worked. When the STOGROUP is used to allocate a data set, the specified classes are passed to DFSMS, which does the actual work. &lt;/p&gt;&lt;p&gt;The intent of this posting is not to act as an SMS tutorial. If you wish to investigate the details of SMS in more depth, consult the IBM manual titled -- &lt;a href="http://www.elink.ibmlink.ibm.com/publications/servlet/pbi.wss?CTY=US&amp;amp;FNC=SRX&amp;amp;PBL=SC26-7407-02"&gt;z/OS DFSMS Implementing System-Managed Storage, SC26-7407&lt;/a&gt;. &lt;/p&gt;&lt;p&gt;Additionally, these same parameters have been added to the ALTER STOGROUP statement. When you alter SMS class names of a DB2 STOGROUP, this does not affect the existing data sets. However, if you run the REORG, RECOVER, or LOAD REPLACE utility, DB2 deletes the associated data set and redefines it using the new description of the storage group. &lt;/p&gt;&lt;p&gt;Finally, to accommodate the metadata for these new parameters, three new columns have been added to the SYSIBM.SYSSTOGROUP DB2 catalog table: DATACLAS, MGMTCLAS, and STORCLAS.  &lt;/p&gt;</description><link>http://www.db2portal.com/2008/01/stogroups-and-sms-db2-9-for-zos.html</link><author>noreply@blogger.com (Craig S Mullins)</author></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-18371456.post-4415486456901347059</guid><pubDate>Thu, 03 Jan 2008 17:54:00 +0000</pubDate><atom:updated>2008-01-09T11:55:05.140-08:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>salaries</category><title>On Database Skills and DBA Salaries</title><description>Just a quick post today to point you over to my &lt;a href="http://www.neonesoft.com/blog/blogs/cmullins/default.aspx"&gt;Data Management Today blog&lt;/a&gt;. I use this blog to talk about data management issues that are not specific to DB2, whereas this blog focuses almost exclusively on DB2 (and mainframe) topics.&lt;br /&gt;
&lt;br /&gt;
But two recent posts at my other blog may be of interest to readers of my DB2 Portal blog. They deal with the topics of employability and pay -- two topics that are near and dear to the heart of IT and database professionals.&lt;br /&gt;
&lt;br /&gt;
Here are links to those posts:&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;&lt;a href="http://www.neonesoft.com/blog/blogs/cmullins/archive/2007/12/19/DBA-Salary-Update.aspx"&gt;DBA Salary Update &lt;/a&gt;- a look at a couple of recent salary surveys&lt;br /&gt;
&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.neonesoft.com/blog/blogs/cmullins/archive/2007/12/12/Database-Skills-Are-in-Demand.aspx"&gt;Database Skills Are In Demand&lt;/a&gt; - a look at a recent study on IT skills&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;If you find these posts interesting, subscribe to my Data Management Today blog (via &lt;a href="http://www.neonesoft.com/blog/blogs/cmullins/rss.aspx"&gt;RSS&lt;/a&gt;) and/or check in regularly.&lt;/p&gt;</description><link>http://www.db2portal.com/2008/01/on-database-skills-and-dba-salaries.html</link><author>noreply@blogger.com (Craig S Mullins)</author></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-18371456.post-2595557457684258770</guid><pubDate>Sun, 30 Dec 2007 05:10:00 +0000</pubDate><atom:updated>2007-12-29T21:15:53.014-08:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>mainframe</category><title>Mainframe Career Still a Good Idea!</title><description>Just a quick post today to point you over to an article that ran in eWeek Magazine titled &lt;a href="http://www.eweek.com/article2/0,1895,2238989,00.asp?kc=EWKNLDAT122707STR4"&gt;Big Iron Remains Career Option.&lt;/a&gt; Those of us who have worked with mainframes for decades know that mainframes still run the bulk of the mission-critical, high transaction workload for the biggest companies. And we know that you can make a good career out of mainframe development, administration, and management.&lt;br /&gt;
&lt;br /&gt;
But it is good news that others are starting to hear this message.</description><link>http://www.db2portal.com/2007/12/mainframe-career-still-good-idea.html</link><author>noreply@blogger.com (Craig S Mullins)</author></item></channel></rss>