TechTalk: Journaling Blues

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

Journaling Blues

One thing you may not be considering when you set up journaling is whether or not the user who is creating the journal is authorized to allocate enough space to hold the journal receivers.

In our shop, we decided to journal our BPCS database files (a very large database) and everything went along fine until we received the following CPF message on a file update:

CPA7090: Entry not journaled to journal BPCSJRN in library BPCS-JRNLIB because of reason code 1.

The system message then provided an explanation of reason code 1.

1: The attached journal receiver does not have enough space for the entry because either the system, object, user profile, or group user profile storage limit has been exceeded.

What reason code 1 meant was that the user who created the journal did not have enough auxiliary storage assigned to him to store all the journal entries that were being written to the journal receiver. The amount of auxiliary storage is defined by the MAXSTG parameter in the user profile. When the MAXSTG parameter is exceeded (as it was when we were trying to write entries to a very large journal), an error message is displayed or sent to the job log, and the object is not created or updated.

We looked at the MAXSTG parameter for the user and found it was set to 6156KB. We used the Change User Profile (CHGUSRPRF) command to change it to *NOMAX and found we were able to write journal entries again.

The key here is that the MAXSTG of the user who creates the journal receiver must be changed to *NOMAX. It does not matter who is creating the journal entries-it's the person who creates the journal receiver that must have the space available. -Joe Hertvik

Editor's Note: If you find you cannot give MAXSTG(*NOMAX) to the owner of the journal receiver, you can also change the receiver's owner with the Change Object Owner (CHGOBJ-OWN) command, assigning ownership to a user profile that already has *NOMAX or to one that can be given *NOMAX without trouble.

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: