Partner TechTip: View Journal Receiver Data in the Format of the Original File

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

On a recent trip to a customer site, I was reminded of a difficult technical challenge in i5/OS: viewing the contents of a journal receiver. Often, you want to look at a journal receiver for a particular file from either an audit or an application viewpoint. In either case, you're looking at the file changes in a "before" and "after" image. The challenge is that the data is stored as a string of hexadecimal character formats that the naked eye must translate.

Today, many applications in i5/OS are journaled because of high availability (HA) or auditing requirements. Journaling technology has been around since the System/38, and the System i journals are a wonderful thing. However, the process of viewing this information has not gotten easier. Once you start to journal a physical file, all the record puts, updates, deletes, reorganizations, and saves are recorded in a log called the "journal receiver." IBM provides the DSPJRN command so you can display this information easily as a spooled file (or you can copy the information to an outfile and view it in DFU or Query). But the data is not in the original format; it is now a string of data that you must parse to decipher (see Figure 1).

http://www.mcpressonline.com/articles/images/2002/TNT%2012%20Easy%20View_edit3V4--06300600.jpg

Figure 1: This is how the DSPJRN command displays a Robot/SCHEDULE journal receiver. (Click images to enlarge.)

Easy View, from Help/Systems, Inc., makes it easy to view any file on the system and to view journal images from a physical file. You can use the Easy View EZVIEWJRN command and its options (press F10 for more advanced journaling features) to guide you through the process of preparing the file (see Figure 2).

http://www.mcpressonline.com/articles/images/2002/TNT%2012%20Easy%20View_edit3V4--06300601.jpg

Figure 2: Use the EZVIEWJRN command to prepare the Robot/SCHEDULE journal receiver for display.

Results

Easy View produces a view of the file changes with the data copied to the appropriate fields. You can use Easy View to exclude certain information fields from the view—such as type of journal record, date, and, time—that IBM includes with each journal image. The result is the journal receiver file, laid out in the correct record field format (see Figure 3).

http://www.mcpressonline.com/articles/images/2002/TNT%2012%20Easy%20View_edit3V4--06300602.jpg

Figure 3: Easy View displays the Robot/SCHEDULE journal receiver with the correct field layout.

Viewing journals is easy with Easy View. You can use the EZVIEWJRN command anytime you want to see what happens to the data in a file. And, if you have HA software, Easy View is an inexpensive, must-have tool. Give it a 30-day free trial. And be sure to check out the other Help/Systems offerings in the MC Showcase Buyer's Guide.

Tom Huntington is Vice President of Technical Services for Help/Systems, Inc. He can be reached at 952.563.1606 or at This email address is being protected from spambots. You need JavaScript enabled to view it..

TOM HUNTINGTON

Tom Huntington is Executive Vice President of Technical Solutions at HelpSystems, and has been with the company for nearly 30 years. He works with business alliances, acquisitions and large customer relationships and ensures that the HelpSystems software works with other major software and hardware vendors worldwide.

Tom often speaks on enterprise scheduling, security, automation topics, IBM i technology, and the HelpSystems products, and hosts technical presentations on a variety of automation topics. He is the author of the HelpSystems IBM i Marketplace Survey and has written articles on automated operations, security, cloud computing, and business intelligence for leading trade journals and newsletters. He was named an IBM Champion in 2016, 2017, 2018, 2019, and 2020 for over three decades of advocation and thought leadership on the IBM i platform.

Contact Tom at This email address is being protected from spambots. You need JavaScript enabled to view it..


 

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: