USPS goes open-source with tracking system

 

Connecting state and local government leaders

Postal Service IT officials have upgraded the service's 15-year-old mainframe system to handle more transactions and lower the cost of operating the system.

If you’ve gone to USPS.com to track and confirm delivery of a letter or package, you’ve used the U.S. Postal Service’s Product Tracking System (PTS) and probably not known it. And you might not have noticed either when USPS moved the system to open source.


More on this topic:

Agencies open up to open source


Postal Service information technology officials have upgraded the 15-year-old, mainframe-based system to handle more transactions and lower the cost of operating the system.

USPS.gov screen capture

The work to upgrade PTS is part of a larger plan to standardize on the open-source and less expensive Linux operating system, said John Byrne, manager of application development and head of USPS’ Integrated Business Solutions Centers.

The service is moving 1,300 Sun Solaris midrange servers to a Hewlett-Packard Linux environment. USPS is using Novell’s SUSE Linux on the mainframe and distributed computing platforms to forge greater interoperability between the two environments, Byrne said.

However, the mainframe story is one of migration and reuse of valuable business logic developed over 15 years, Byrne said.

“We’ve hosted [PTS] on the mainframe, and the mainframe is a proprietary environment, meaning you have to pay the software vendors a certain price to use their software,” Byrnesaid . “We wanted to take advantage of Linux and open source. We want to grow the scanned events without having to pay more software costs. So we started down the path to Linux.”

In recent years, surveys of mainframe users conducted by consulting firm Gartner indicate that pricing of third-party and even IBM software have inhibited mainframe growth.

IBM ported Linux to the big iron machines several years ago as a way for organizations to consolidate workloads. IBM now offers System Z series mainframes that are pure Linux and others that are a mixture of propriety and Linux operating systems.

Nearly 2,800 of the 5,000 unique applications available on the System Z platform are Linux-based, according to IBM. Linux accounted for about half of the roughly 1,000 new or updated applications produced for the IBM mainframe in 2008, IBM officials said.

Moving Cobol to Linux

For its part, USPS had to find a way to take source code written in Cobol and reuse it on Linux. Cobol, which marks its fiftieth anniversary this year, was created to mimic the way people talked. So instead of developers writing in machine code, they could write instructions in English, Byrne said.

After evaluating several products, USPS brought in Micro Focus’ Compiler for Linux, which takes the Cobol source code and converts it into an executable that will run on Linux, he said.

USPS' business and marketing departments wanted to expand the number of events inserted into PTS’ database. Events are transactions that occur at the service's retail counters, such as shipping and picking up packages or the delivery of priority mail by carriers to businesses and residences. The mail is scanned to confirm delivery, and that information is sent to the PTS database.

“All of these events get inserted into the database, all the programming checks for logic, checks for duplicates, checks for valid numbers — even United Parcel Service and Federal Express shipments — are inserted through a series of Cobol programming languages that have been developed over the last 15 years,” Byrne said.

“We’re inserting like 40 million events a day,” he added.

The compiler lets developers move Cobol code to the Linux portion of the mainframe without rewriting source code, Byrne said.

“Nobody wants to take the risk of trying to redesign a program,” said Bill Errico, vice president of federal sales and marketing at Micro Focus. He said USPS used a series of the company’s Studio product line that supports the development and extension of Cobol applications for deployment to Windows, Unix and Linux.

“There’s a lot of risk in taking those working applications and starting over and redoing them and lots of costs," he said. "So the concept of reusing the business logic that is applicable in today’s environment makes a lot of sense.”

Micro Focus’ compiler takes applications and modernizes them in a framework named the Integrated Facility for Linux (IFL), a co-processor within the IBM Z series, Errico said.

IFL lets developers take applications that might traditionally be transferred to a server environment and keeps them within the mainframe without all of the expenses of the large enterprise system, he said.

Running Linux workloads on IFL does not result in any increased IBM software charges for System Z operating systems and middleware, IBM officials said.

By using the Cobol compiler for Linux, USPS could perform tasks a piece at a time, Byrne said. The PTS has 56 transaction types, such as acceptance scans and delivery confirmations, that have now all been migrated to Linux.

Migration work started last summer, and by the beginning of the year, the improved PTS on mainframe Linux was operational, Byrne said.

There were some hiccups along the way. For instance, the Cobol code converted to Linux was disconnecting with the database. “Even on heavy days, it was fine, but some days, it would disconnect and cause us to have to restart manually,” Byrne said.

Developers working on the project had to write software code to restart the system automatically. “We went over this with IBM, and they said you probably have to put some custom code in there,” Byrne said.

Byrne declined to talk about specific savings USPS has gotten from the move to Linux.

“We’re achieving significant savings moving from the Sun to the HP environment — obviously not as materially as the IBM proprietary environment to Linux because the mainframe has had the higher cost to begin with and farther to fall,” he said.

NEXT STORY: W3C pulls plug on XHTML 2

X
This website uses cookies to enhance user experience and to analyze performance and traffic on our website. We also share information about your use of our site with our social media, advertising and analytics partners. Learn More / Do Not Sell My Personal Information
Accept Cookies
X
Cookie Preferences Cookie List

Do Not Sell My Personal Information

When you visit our website, we store cookies on your browser to collect information. The information collected might relate to you, your preferences or your device, and is mostly used to make the site work as you expect it to and to provide a more personalized web experience. However, you can choose not to allow certain types of cookies, which may impact your experience of the site and the services we are able to offer. Click on the different category headings to find out more and change our default settings according to your preference. You cannot opt-out of our First Party Strictly Necessary Cookies as they are deployed in order to ensure the proper functioning of our website (such as prompting the cookie banner and remembering your settings, to log into your account, to redirect you when you log out, etc.). For more information about the First and Third Party Cookies used please follow this link.

Allow All Cookies

Manage Consent Preferences

Strictly Necessary Cookies - Always Active

We do not allow you to opt-out of our certain cookies, as they are necessary to ensure the proper functioning of our website (such as prompting our cookie banner and remembering your privacy choices) and/or to monitor site performance. These cookies are not used in a way that constitutes a “sale” of your data under the CCPA. You can set your browser to block or alert you about these cookies, but some parts of the site will not work as intended if you do so. You can usually find these settings in the Options or Preferences menu of your browser. Visit www.allaboutcookies.org to learn more.

Sale of Personal Data, Targeting & Social Media Cookies

Under the California Consumer Privacy Act, you have the right to opt-out of the sale of your personal information to third parties. These cookies collect information for analytics and to personalize your experience with targeted ads. You may exercise your right to opt out of the sale of personal information by using this toggle switch. If you opt out we will not be able to offer you personalised ads and will not hand over your personal information to any third parties. Additionally, you may contact our legal department for further clarification about your rights as a California consumer by using this Exercise My Rights link

If you have enabled privacy controls on your browser (such as a plugin), we have to take that as a valid request to opt-out. Therefore we would not be able to track your activity through the web. This may affect our ability to personalize ads according to your preferences.

Targeting cookies may be set through our site by our advertising partners. They may be used by those companies to build a profile of your interests and show you relevant adverts on other sites. They do not store directly personal information, but are based on uniquely identifying your browser and internet device. If you do not allow these cookies, you will experience less targeted advertising.

Social media cookies are set by a range of social media services that we have added to the site to enable you to share our content with your friends and networks. They are capable of tracking your browser across other sites and building up a profile of your interests. This may impact the content and messages you see on other websites you visit. If you do not allow these cookies you may not be able to use or see these sharing tools.

If you want to opt out of all of our lead reports and lists, please submit a privacy request at our Do Not Sell page.

Save Settings
Cookie Preferences Cookie List

Cookie List

A cookie is a small piece of data (text file) that a website – when visited by a user – asks your browser to store on your device in order to remember information about you, such as your language preference or login information. Those cookies are set by us and called first-party cookies. We also use third-party cookies – which are cookies from a domain different than the domain of the website you are visiting – for our advertising and marketing efforts. More specifically, we use cookies and other tracking technologies for the following purposes:

Strictly Necessary Cookies

We do not allow you to opt-out of our certain cookies, as they are necessary to ensure the proper functioning of our website (such as prompting our cookie banner and remembering your privacy choices) and/or to monitor site performance. These cookies are not used in a way that constitutes a “sale” of your data under the CCPA. You can set your browser to block or alert you about these cookies, but some parts of the site will not work as intended if you do so. You can usually find these settings in the Options or Preferences menu of your browser. Visit www.allaboutcookies.org to learn more.

Functional Cookies

We do not allow you to opt-out of our certain cookies, as they are necessary to ensure the proper functioning of our website (such as prompting our cookie banner and remembering your privacy choices) and/or to monitor site performance. These cookies are not used in a way that constitutes a “sale” of your data under the CCPA. You can set your browser to block or alert you about these cookies, but some parts of the site will not work as intended if you do so. You can usually find these settings in the Options or Preferences menu of your browser. Visit www.allaboutcookies.org to learn more.

Performance Cookies

We do not allow you to opt-out of our certain cookies, as they are necessary to ensure the proper functioning of our website (such as prompting our cookie banner and remembering your privacy choices) and/or to monitor site performance. These cookies are not used in a way that constitutes a “sale” of your data under the CCPA. You can set your browser to block or alert you about these cookies, but some parts of the site will not work as intended if you do so. You can usually find these settings in the Options or Preferences menu of your browser. Visit www.allaboutcookies.org to learn more.

Sale of Personal Data

We also use cookies to personalize your experience on our websites, including by determining the most relevant content and advertisements to show you, and to monitor site traffic and performance, so that we may improve our websites and your experience. You may opt out of our use of such cookies (and the associated “sale” of your Personal Information) by using this toggle switch. You will still see some advertising, regardless of your selection. Because we do not track you across different devices, browsers and GEMG properties, your selection will take effect only on this browser, this device and this website.

Social Media Cookies

We also use cookies to personalize your experience on our websites, including by determining the most relevant content and advertisements to show you, and to monitor site traffic and performance, so that we may improve our websites and your experience. You may opt out of our use of such cookies (and the associated “sale” of your Personal Information) by using this toggle switch. You will still see some advertising, regardless of your selection. Because we do not track you across different devices, browsers and GEMG properties, your selection will take effect only on this browser, this device and this website.

Targeting Cookies

We also use cookies to personalize your experience on our websites, including by determining the most relevant content and advertisements to show you, and to monitor site traffic and performance, so that we may improve our websites and your experience. You may opt out of our use of such cookies (and the associated “sale” of your Personal Information) by using this toggle switch. You will still see some advertising, regardless of your selection. Because we do not track you across different devices, browsers and GEMG properties, your selection will take effect only on this browser, this device and this website.