TechTalk: Update Production Systems Fearlessly

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

Updating a production system can often be a harrowing experience. If the system is one which is in use 24 hours a day, or even during normal work hours, it is essential that the downtime be kept to a minimum. You can make things a little easier by using library lists to your advantage.

First of all, you should place a temporary library at the beginning of the production system's library list. This will become a permanent addition to the library list, and serve as a temporary holding place for objects that are to be updated. Be sure to treat this as any other production library, as far as security and so on.

When you wish to make an update, first move the old objects into the temporary library. If it is a program you are updating, you can do this while it is being executed. As long as the temporary library is in the user's library list, the users will not be affected. If it is a file you wish to update, you will need to do this while it is not in use. In any case, it only takes a second to move an object.

Now you can compile the new objects into the production library at your leisure, without worrying that something terrible will go wrong, as the users are standing around waiting for the update to take place. After you are sure that the update has gone successfully, you simply rename the object in the temporary library, and then the users will be using the updated version. Again, if it is a program you are updating, you can do this as it is being executed by the users. Anyone using the program at the time of the rename will be unaffected. When the program is called again, the new version will be used.

You need to use this method only a few times to realize the value of doing it this way. For critical applications, program changes can be made while the system is still up and running. For changes to files, downtime is kept to an absolute minimum, and there are never any surprises.

Editor's Note: Keep in mind that if you use this technique, all versions of library lists referenced by the production library programs must have the temporary library added to them. For example, a library list that is referenced via a job description must include the temporary library.

Jon Vote Medford, Oregon

BLOG COMMENTS POWERED BY DISQUS

LATEST COMMENTS

Support MC Press Online

$

Book Reviews

Resource Center

  •  

  • 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.

  • 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

  • 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: