You are currently on IBM Systems Media’s archival website. Click here to view our new website.


Bookmark and Share
RSS

Recent Posts

IBM i Services

March 19, 2015

A couple weeks ago, I wrote Installed PTF Group Currency. In that blog, I gave a very basic introduction to IBM i Services. This week, I’m going to provide a little more information on what they are and why you should be interested in them.

IBM i has many interfaces for a wide variety of tasks and there are many ways to access information about your i. You can use text-based interfaces to enter commands, display menus or call programs. There are graphical interfaces – client applications as well as browser interfaces – to manage your i. There are also application programming interfaces (APIs) that you can use to access information. IBM i Services provides another interface into system information using SQL.
 
Why would IBM add yet another interface to access system information?
 
There are many reasons, but in my opinion, there are two key benefits for an SQL interface to system information:
 
1.     Access to IBM i information using an industry standard interface.
Many people know SQL but they may not know IBM i. If you have someone who knows SQL, it will be easier for them to access IBM i information in a manner that’s familiar to them. Likewise, a cross-platform application could have extensions using a standard interface such as SQL to access IBM i specific information.
2.     Access to IBM i information using a mechanism suitable for the results desired.
Often we want to get at information that is well suited to a query to find what you’re looking for. You might want to sort on a particular field or search for values that meet some criteria. You want results that are applicable to what you’re interested in, rather than copious amounts of information to manually review.

In order to take advantage of the IBM i Services, you need a basic understanding of SQL. The DB2 for i SQL Reference is a good place for getting started with SQL as well as a great reference for those who are experts.
 
Certainly some of the IBM i Services just provide another way to get at information you can already access via commands or APIs. But there are some services that provide access to information that otherwise might be difficult to get. A few examples are:
 
       System Health Services provide the capability to programmatically get at system limit information. Are you near the system limits for files or jobs or journals (or many other limits)? How do you know? System health services can help you answer that question.
       System temporary storage (SYSTMPSTG) service provides a programmatic interface to identify where the temporary storage allocations have been made. (This is 7.2 only.)
       PTF Group Currency service provides a capability to check your installed PTF groups with the levels that are available on Fix Central (which I previously wrote about).

I plan to write a few more blogs where I will explore some of these IBM i services in greater detail.
 
For documentation, DB2 for i Services on IBM i developerWorks has the latest information on what is available. IBM has been delivering more and more services each year, so you probably want to watch this space when future announcements are made. The IBM i 7.2 Knowledge Center is where you can find the formal documentation on IBM i Services, but it may lag slightly behind the developerWorks site with regards to the latest information.
 
Give some of these new services a try – it’s another tool in your toolbox for better managing your i.

 

Posted March 19, 2015| Permalink

-->