18
Thu, Apr
5 New Articles

What IBM i Execs Should Know, Part 1

Typography
  • Smaller Small Medium Big Bigger
  • Default Helvetica Segoe Georgia Times

In “What IBM i Execs Don’t Know,” my tone was a tad antagonistic. But now the air is warmer, spring is finally here, and I’m much, much better. So let’s approach things a bit more positively, shall we?

 

I’ll willingly agree that the last column I wrote was just a bit on the negative side. In fact, I really expected to be taken to task for being too hard on poor IBM i IT management.

But, like most things, I was wrong…about being taken to task, that is. As it turned out, everyone who commented agreed with me, and nobody seemed to feel too sorry for IT management as a group.

Still, I would rather be positive than negative (my editor just rolled her eyes at that one), so let’s talk about this issue (which is the fact that even people who own an i don’t understand or appreciate it) from a more positive point of view. Specifically, just what is it that management should know in order to be an effective “i leader”?

Know What Makes the i Different

I have a feeling that if there were a TV game show called “What Makes the i Different,” a lot of i IT managers wouldn’t do very well. The same might be true of a lot of i programmers. Even people who use and love the i can’t always articulate what makes that machine special, what sets it apart from, say, Windows. So let’s take a brief refresher on some of the things that make the i special. 

Technology Independence

This is courtesy of the Machine Interface (MI), a layer of software between the hardware and the application software that separates and insulates each. It makes it possible to change the hardware without impacting the top-level software. All IBM has to do is change the MI; the rest is totally transparent to you.

Object-Based Design

Everything within the i is an object.

Each object consists of a description and a data part. The description tells the system how to use the data. The description cannot be changed, so something that comes in as data can’t suddenly make itself into a program. This prevents viruses from existing on the i.

True, the IFS can get infected, but that’s a Windows-type environment and has to be protected from itself.

Software Integration

Unlike the server environments, there’s no need to buy a ton of additional packages to go with the i. Almost everything you need is there right out of the box: a database with multiple access methods (RPG IO and SQL), work management systems, a command-level interface, multiple programming languages, etc.

Single-Level Storage

The 64-bit address space has room to address 18 quintillion bytes of data. Hence, the system can reference each main memory and disk location as if it were one big space.

If you add disk space, the system automatically detects it and spreads the data out; you don’t have to do that. If files fill up, the system will find room for extensions. Because of the simplicity, a database administrator (DBA) is not required; the system can control things by itself. And not having a DBA means your programmers can do other things and less time is required to get something on your database accomplished.

Workload Management

IBM i on Power has a very sophisticated hardware-based hypervisor that scales very well and has a lot of workload management facilities. And this is something that has been drastically increased in the last couple of releases with the introduction of the SQL-based IBM i Services.

The scalability of the i is one of its most important assets. The i can range from a small system up to massive cloud-hosting sites.

The way the i executes a program makes it more efficient as well. As the processor is executing a program, it gets to a point where data is required. It then calls an Input/Output Processor (IOP) to get the data. While this is happening, the CPU will turn its attention to another program. Since you can have 2000 or so IOPs, there’s room for a lot of programs to be active. When the data is returned, control will return to the original program.

RPG

That’s right. I’m including RPG as something that makes the i special.

There are lots of cool things you can do with web languages, but most of them involve text or graphics. Not numbers or real decision-making. RPG is ideally tuned to the business world in a way that web languages are not, so they don’t do as well.

For example, one of RPG’s big strengths is that it can do decimal math very simply and naturally. Java cannot do that; it has to have a bunch of workarounds to do decimal math. Other languages can’t handle it either. This is one reason why RPG and COBOL are both excellent business languages. 

Most computers, except for the i and IBM mainframes, use base 2 (binary). The problem is, if you do a calculation in base 10 and the same calc in base 2, you come up with different numbers. Binary will be off just a hair, but off just the same. Because of the problems binary has with calculations, IBM developed Binary Coded Decimal (BCD) in the ‘60s as a way to represent base 10 numbers using binary codes and to therefore yield the proper calculation values. The decimal math is built into the IBM hardware.

RPG uses a compressed version of the BCD, what we call “packed.” This is fixed-point math. Binary-based languages, like Java, C, JavaScript, PHP, and most others, use floating-point math or binary integer. The problem is there are no commonly agreed upon storage methods, algorithms, or representations for how to do decimal math in these other languages, and what we take for granted with RPG is time-consuming to do in other languages. Some use strings, some separate the decimal from the integer part.

The Upshot

The bottom line is there are a lot of reasons why the i presents substantive advantages over the more basic “server” architecture. And the next time someone starts referring to the i as a dinosaur machine, a good i leader should be able to whip these points out and remind that person that if the i is a dinosaur, it’s definitely a raptor.

Understand Where the “i Chips” Are Going

Even though I am not a hardware junkie and have a very deep distrust of anything even remotely mechanical (computers have screws that hold things in place), even I know there is no such thing as “i chips.” What I am referring to are the Power architecture chips that the i uses.

In the end, when you make your hardware purchase, you are not buying a server or an i. You are buying into either an X86-based Intel architecture scheme or the IBM Power architecture setup. So what’s the difference?

Not being a hardware guy, I have had to do some research on this and the articles I have seen all seem to be saying the same thingthat the Power8 is more powerful, core for core, than its Intel Xeon competition. Unfortunately, when you look at cost, the Intel chip is going to be cheaper for the initial install. Less powerful, but cheaper. But we will come back to price later.

Perhaps one of the most promising reasons for buying into Power chips is the OpenPower Initiative. Initially formed by IBM and four other partners (Google, Mellanox, NVIDIA, and Tyan) in 2013, the movement has grown to include almost 200 companies, all dedicated to exploiting and using the Power chips. By providing a licensing option, IBM opened the door to inviting other companies to standardize on the Power chip.

What’s significant about OpenPower? In a word, open source. This is in stark contrast to proprietary vendors like Intel, Microsoft, or Oracle. Is open important? I think so, and to quote a slide from a 2015 OpenPower conference, “If you’re not open, you’re not moving.”

In the end, I see two significant facts here that favor the Power architecture.

1.      First, as I said, all reviews seem to point to the POWER8 being flat out more powerful than the Intel Xeon chip. And given the ever-increasing load that our poor hardware is forced to bear, I don’t see how you can convincingly say, “We don’t need the most powerful processors available; we’ll take the slower ones and just buy more of them.”

2.      Second, we seem to be at a watershed point, with two very different options. One is the proprietary path of Intel, Microsoft, etc. The second is the open-source approach of IBM and the Power architecture. Certainly, the proprietary path is very widely disseminated, but it’s very hard, for me, to make a convincing argument for going proprietary versus open source and betting your future on it.

Is it more expensive? Perhaps, but IBM is working hard on reducing that disparity. I know that sounds like a joke, but it’s true. And you have to admit that defining what is expensive and what is cheap is not as simple as looking at a price tag, but we will talk more about that next month. Right now, all we want to establish is that there appears to be clear technology-specific reasons for buying into Power architecture, and that is a solid technology reason for the i. Fortunately, with an open-source approach to the future, it is not just up to IBM to carry that message.

Is That All?

Actually, no, it isn’t. But my time for this month is up and the other two special things about the i will have to wait for the next installment. See you then.

What IBM i Execs Should Know – Part 1

In What IBM i Execs Don’t Know,” [VM1]my tone was a tad antagonistic. But now the air is warmer, spring is finally here, and I’m much, much better. So let’s approach things a bit more positively, shall we?

Written by David Shirey

I’ll willingly agree that the last column I wrote was just a bit on the negative side. In fact, I really expected to be taken to task for being too hard on poor IBM i IT management.

But, like most things, I was wrong…about being taken to task, that is. As it turned out, everyone who commented agreed with me, and nobody seemed to feel too sorry for IT management as a group.

Still, I would rather be positive than negative (my editor just rolled her eyes at that one), so let’s talk about this issue (which is the fact that even people who own an i don’t understand or appreciate it) from a more positive point of view. Specifically, just what is it that management should know in order to be an effective “i leader”?

Know What Makes the i Different [VM2]

I have a feeling that if there were a TV game show called “What Makes the i Different,” a lot of i IT managers wouldn’t do very well. The same might be true of a lot of i programmers. Even people who use and love the i can’t always articulate what makes that machine special, what sets it apart from, say, Windows. So let’s take a brief refresher on some of the things that make the i special. 

Technology Independence

This is courtesy of the Machine Interface (MI), a layer of software between the hardware and the application software that separates and insulates each. It makes it possible to change the hardware without impacting the top-level software. All IBM has to do is change the MI; the rest is totally transparent to you.

Object-Based Design

Everything within the i is an object.

Each object consists of a description and a data part. The description tells the system how to use the data. The description cannot be changed, so something that comes in as data can’t suddenly make itself into a program. This prevents viruses from existing on the i.

True, the IFS can get infected, but that’s a Windows-type environment and has to be protected from itself.

Software Integration

Unlike the server environments, there’s no need to buy a ton of additional packages to go with the i. Almost everything you need is there right out of the box: a database with multiple access methods (RPG IO and SQL), work management systems, a command-level interface, multiple programming languages, etc.

Single-Level Storage

The 64-bit address space has room to address 18 quintillion bytes of data. Hence, the system can reference each main memory and disk location as if it were one big space.

If you add disk space, the system automatically detects it and spreads the data out; you don’t have to do that. If files fill up, the system will find room for extensions. Because of the simplicity, a database administrator (DBA) is not required; the system can control things by itself. And not having a DBA means your programmers can do other things and less time is required to get something on your database accomplished.

Workload Management

IBM i on Power has a very sophisticated hardware-based hypervisor that scales very well and has a lot of workload management facilities. And this is something that has been drastically increased in the last couple of releases with the introduction of the SQL-based IBM i Services.

The scalability of the i is one of its most important assets. The i can range from a small system up to massive cloud-hosting sites.

The way the i executes a program makes it more efficient as well. As the processor is executing a program, it gets to a point where data is required. It then calls an Input/Output Processor (IOP) to get the data. While this is happening, the CPU will turn its attention to another program. Since you can have 2000 or so IOPs, there’s room for a lot of programs to be active. When the data is returned, control will return to the original program.

RPG

That’s right. I’m including RPG as something that makes the i special.

There are lots of cool things you can do with web languages, but most of them involve text or graphics. Not numbers or real decision-making. RPG is ideally tuned to the business world in a way that web languages are not, so they don’t do as well.

For example, one of RPG’s big strengths is that it can do decimal math very simply and naturally. Java cannot do that; it has to have a bunch of workarounds to do decimal math. Other languages can’t handle it either. This is one reason why RPG and COBOL are both excellent business languages. 

Most computers, except for the i and IBM mainframes, use base 2 (binary). The problem is, if you do a calculation in base 10 and the same calc in base 2, you come up with different numbers. Binary will be off just a hair, but off just the same. Because of the problems binary has with calculations, IBM developed Binary Coded Decimal (BCD) in the ‘60s as a way to represent base 10 numbers using binary codes and to therefore yield the proper calculation values. The decimal math is built into the IBM hardware.

RPG uses a compressed version of the BCD, what we call “packed.” This is fixed-point math. Binary-based languages, like Java, C, JavaScript, PHP, and most others, use floating-point math or binary integer. The problem is there are no commonly agreed upon storage methods, algorithms, or representations for how to do decimal math in these other languages, and what we take for granted with RPG is time-consuming to do in other languages. Some use strings, some separate the decimal from the integer part.

The Upshot

The bottom line is there are a lot of reasons why the i presents substantive advantages over the more basic “server” architecture. And the next time someone starts referring to the i as a dinosaur machine, a good i leader should be able to whip these points out and remind that person that if the i is a dinosaur, it’s definitely a raptor.

Understand Where the “i Chips” Are Going

Even though I am not a hardware junkie and have a very deep distrust of anything even remotely mechanical (computers have screws that hold things in place), even I know there is no such thing as “i chips.” What I am referring to are the Power architecture chips that the i uses.

In the end, when you make your hardware purchase, you are not buying a server or an i. You are buying into either an X86-based Intel architecture scheme or the IBM Power architecture setup. So what’s the difference?

Not being a hardware guy, I have had to do some research on this and the articles I have seen all seem to be saying the same thingthat the Power8 is more powerful, core for core, than its Intel Xeon competition. Unfortunately, when you look at cost, the Intel chip is going to be cheaper for the initial install. Less powerful, but cheaper. But we will come back to price later.

Perhaps one of the most promising reasons for buying into Power chips is the OpenPower Initiative. Initially formed by IBM and four other partners (Google, Mellanox, NVIDIA, and Tyan) [VM3]in 2013, the movement has grown to include almost 200 companies, all dedicated to exploiting and using the Power chips. By providing a licensing option, IBM opened the door to inviting other companies to standardize on the Power chip.

What’s significant about OpenPower? In a word, open source. This is in stark contrast to proprietary vendors like Intel, Microsoft, or Oracle. Is open important? I think so, and to quote a slide from a 2015 OpenPower conference, “If you’re not open, you’re not moving.”

In the end, I see two significant facts here that favor the Power architecture.

1.      First, as I said, all reviews seem to point to the POWER8 being flat out more powerful than the Intel Xeon chip. And given the ever-increasing load that our poor hardware is forced to bear, I don’t see how you can convincingly say, “We don’t need the most powerful processors available; we’ll take the slower ones and just buy more of them.”

2.      Second, we seem to be at a watershed point, with two very different options. One is the proprietary path of Intel, Microsoft, etc. The second is the open-source approach of IBM and the Power architecture. Certainly, the proprietary path is very widely disseminated, but it’s very hard, for me, to make a convincing argument for going proprietary versus open source and betting your future on it.

Is it more expensive? Perhaps, but IBM is working hard on reducing that disparity. I know that sounds like a joke, but it’s true. And you have to admit that defining what is expensive and what is cheap is not as simple as looking at a price tag, but we will talk more about that next month. Right now, all we want to establish is that there appears to be clear technology-specific reasons for buying into Power architecture, and that is a solid technology reason for the i. Fortunately, with an open-source approach to the future, it is not just up to IBM to carry that message.

Is That All?

Actually, no, it isn’t. But my time for this month is up and the other two special things about the i will have to wait for the next installment. See you then.


 [VM1]When you refer back to a previous article, you need to state the title of the article and put in a link.

 [VM2]Subtitles should be bold, not underlined.

 [VM3]Thank you for putting in hot links.

David Shirey

David Shirey is president of Shirey Consulting Services, providing technical and business consulting services for the IBM i world. Among the services provided are IBM i technical support, including application design and programming services, ERP installation and support, and EDI setup and maintenance. With experience in a wide range of industries (food and beverage to electronics to hard manufacturing to drugs--the legal kind--to medical devices to fulfillment houses) and a wide range of business sizes served (from very large, like Fresh Express, to much smaller, like Labconco), SCS has the knowledge and experience to assist with your technical or business issues. You may contact Dave by email at This email address is being protected from spambots. You need JavaScript enabled to view it. or by phone at (616) 304-2466.


MC Press books written by David Shirey available now on the MC Press Bookstore.

21st Century RPG: /Free, ILE, and MVC 21st Century RPG: /Free, ILE, and MVC
Boost your productivity, modernize your applications, and upgrade your skills with these powerful coding methods.
List Price $69.95

Now On Sale

BLOG COMMENTS POWERED BY DISQUS

LATEST COMMENTS

Support MC Press Online

$0.00 Raised:
$

Book Reviews

Resource Center

  • SB Profound WC 5536 Have you been wondering about Node.js? Our free Node.js Webinar Series takes you from total beginner to creating a fully-functional IBM i Node.js business application. You can find Part 1 here. In Part 2 of our free Node.js Webinar Series, Brian May teaches you the different tooling options available for writing code, debugging, and using Git for version control. Brian will briefly discuss the different tools available, and demonstrate his preferred setup for Node development on IBM i or any platform. Attend this webinar to learn:

  • SB Profound WP 5539More than ever, there is a demand for IT to deliver innovation. Your IBM i has been an essential part of your business operations for years. However, your organization may struggle to maintain the current system and implement new projects. The thousands of customers we've worked with and surveyed state that expectations regarding the digital footprint and vision of the company are not aligned with the current IT environment.

  • SB HelpSystems ROBOT Generic IBM announced the E1080 servers using the latest Power10 processor in September 2021. The most powerful processor from IBM to date, Power10 is designed to handle the demands of doing business in today’s high-tech atmosphere, including running cloud applications, supporting big data, and managing AI workloads. But what does Power10 mean for your data center? In this recorded webinar, IBMers Dan Sundt and Dylan Boday join IBM Power Champion Tom Huntington for a discussion on why Power10 technology is the right strategic investment if you run IBM i, AIX, or Linux. In this action-packed hour, Tom will share trends from the IBM i and AIX user communities while Dan and Dylan dive into the tech specs for key hardware, including:

  • Magic MarkTRY the one package that solves all your document design and printing challenges on all your platforms. Produce bar code labels, electronic forms, ad hoc reports, and RFID tags – without programming! MarkMagic is the only document design and print solution that combines report writing, WYSIWYG label and forms design, and conditional printing in one integrated product. Make sure your data survives when catastrophe hits. Request your trial now!  Request Now.

  • SB HelpSystems ROBOT GenericForms of ransomware has been around for over 30 years, and with more and more organizations suffering attacks each year, it continues to endure. What has made ransomware such a durable threat and what is the best way to combat it? In order to prevent ransomware, organizations must first understand how it works.

  • SB HelpSystems ROBOT GenericIT security is a top priority for businesses around the world, but most IBM i pros don’t know where to begin—and most cybersecurity experts don’t know IBM i. In this session, Robin Tatam explores the business impact of lax IBM i security, the top vulnerabilities putting IBM i at risk, and the steps you can take to protect your organization. If you’re looking to avoid unexpected downtime or corrupted data, you don’t want to miss this session.

  • SB HelpSystems ROBOT GenericCan you trust all of your users all of the time? A typical end user receives 16 malicious emails each month, but only 17 percent of these phishing campaigns are reported to IT. Once an attack is underway, most organizations won’t discover the breach until six months later. A staggering amount of damage can occur in that time. Despite these risks, 93 percent of organizations are leaving their IBM i systems vulnerable to cybercrime. In this on-demand webinar, IBM i security experts Robin Tatam and Sandi Moore will reveal:

  • FORTRA Disaster protection is vital to every business. Yet, it often consists of patched together procedures that are prone to error. From automatic backups to data encryption to media management, Robot automates the routine (yet often complex) tasks of iSeries backup and recovery, saving you time and money and making the process safer and more reliable. Automate your backups with the Robot Backup and Recovery Solution. Key features include:

  • FORTRAManaging messages on your IBM i can be more than a full-time job if you have to do it manually. Messages need a response and resources must be monitored—often over multiple systems and across platforms. How can you be sure you won’t miss important system events? Automate your message center with the Robot Message Management Solution. Key features include:

  • FORTRAThe thought of printing, distributing, and storing iSeries reports manually may reduce you to tears. Paper and labor costs associated with report generation can spiral out of control. Mountains of paper threaten to swamp your files. Robot automates report bursting, distribution, bundling, and archiving, and offers secure, selective online report viewing. Manage your reports with the Robot Report Management Solution. Key features include:

  • FORTRAFor over 30 years, Robot has been a leader in systems management for IBM i. With batch job creation and scheduling at its core, the Robot Job Scheduling Solution reduces the opportunity for human error and helps you maintain service levels, automating even the biggest, most complex runbooks. Manage your job schedule with the Robot Job Scheduling Solution. Key features include:

  • LANSA Business users want new applications now. Market and regulatory pressures require faster application updates and delivery into production. Your IBM i developers may be approaching retirement, and you see no sure way to fill their positions with experienced developers. In addition, you may be caught between maintaining your existing applications and the uncertainty of moving to something new.

  • LANSAWhen it comes to creating your business applications, there are hundreds of coding platforms and programming languages to choose from. These options range from very complex traditional programming languages to Low-Code platforms where sometimes no traditional coding experience is needed. Download our whitepaper, The Power of Writing Code in a Low-Code Solution, and:

  • LANSASupply Chain is becoming increasingly complex and unpredictable. From raw materials for manufacturing to food supply chains, the journey from source to production to delivery to consumers is marred with inefficiencies, manual processes, shortages, recalls, counterfeits, and scandals. In this webinar, we discuss how:

  • The MC Resource Centers bring you the widest selection of white papers, trial software, and on-demand webcasts for you to choose from. >> Review the list of White Papers, Trial Software or On-Demand Webcast at the MC Press Resource Center. >> Add the items to yru Cart and complet he checkout process and submit

  • Profound Logic Have you been wondering about Node.js? Our free Node.js Webinar Series takes you from total beginner to creating a fully-functional IBM i Node.js business application.

  • SB Profound WC 5536Join us for this hour-long webcast that will explore:

  • Fortra IT managers hoping to find new IBM i talent are discovering that the pool of experienced RPG programmers and operators or administrators with intimate knowledge of the operating system and the applications that run on it is small. This begs the question: How will you manage the platform that supports such a big part of your business? This guide offers strategies and software suggestions to help you plan IT staffing and resources and smooth the transition after your AS/400 talent retires. Read on to learn: