What to Do When QSYSOPR Throws a Message You’ve Never Seen

QSYSOPR message on an IBM i screen, an inquiry message waiting for a C, D, I, or R reply

It’s 6:40 a.m., the overnight batch should have finished an hour ago, and WRKACTJOB shows it parked in MSGW. There’s a QSYSOPR message you don’t recognize, a reply line with the cursor blinking in it, and a short list of letters you could type. The person who would know what to do is on a plane.

Most IBM i teams have lived some version of that morning. Can use something like this: Picture a junior operator staring at that reply line, unsure whether ‘C’ means cancel the job or cancel the night’s orders, and deciding the safest move is to wait.

Here’s what anyone newer on the platform should know: nobody has every message ID memorized, including the people who’ve been running IBM i for 30 years. What they have is a routine, checking the same few things in the same order every time. And it’s one anyone can learn.

What is QSYSOPR?

QSYSOPR is the system operator message queue on IBM i. The operating system, subsystems, and batch jobs send messages there when something needs a person’s attention: status changes, warnings, errors, and inquiry messages waiting for someone to reply. If something on the system is wrong, it usually shows up in QSYSOPR first.

To see it, run DSPMSG QSYSOPR. You’ll mostly be dealing with two kinds of messages. Informational messages tell you something happened and don’t need anything from you. Inquiry messages have a reply line under them, and the job that sent one is often stopped until someone answers. Those are the ones that turn into a phone call if nobody looks.

IBM i QSYSOPR message queue on a green screen showing an inquiry message waiting for a C, D, I, or R reply
An inquiry message waiting in QSYSOPR. The letters in brackets at the end are the replies the program will accept.

How to Read IBM i Message Severity

Every IBM i message carries a severity from 00 to 99, and it’s the quickest way to decide how worried to be. Here’s how IBM defines the levels (full definitions in IBM’s documentation), along with how to handle each one:

IBM i message severity levels and what to do
SeverityWhat it meansWhat to do
00–10Information or warning; it probably workedRead when you get to it
20Error; recovery likely, results may be offCheck today
30–50Something failed or ended abnormallyLook now
60–80System, device, or alert messages (80 can also be a user message)Look now, escalate device issues
90Subsystem or system can’t operateEscalate right away
99Someone has to act, such as replyAct, then judge impact (steps 2 and 3)

One thing that trips people up: inquiry messages often show severity 99 even when the underlying problem is small. The 99 is about the reply, not the damage. It tells you someone has to act, and steps 2 and 3 tell you how serious it is.

How to Triage a QSYSOPR Message in Five Steps

Here are the five steps to follow when an unfamiliar message shows up. You can stop early if the answer is obvious, but don’t skip ahead to replying.

1. Capture the Message ID, Severity, and Sending Job

Put your cursor on the message and press F1. You’ll see the message ID (something like CPF0907 or CPA0701) and its severity. Then press F9 for the message details, which show the job and program that sent it.

Write down the job’s name, user, and number. You’ll need all three in step 3, and they’re the first things anyone you escalate to will ask for.

2. Read the Help Text All the Way Through

The F1 screen has two sections people tend to skim, Cause and Recovery, and it’s worth reading both. IBM’s message text is dry, but the Recovery section often tells you exactly what to check, and sometimes what to type.

If you want to look up a message away from the queue, DSPMSGD shows the description for any message ID. Most CPF and CPA messages live in the QCPFMSG message file, so DSPMSGD CPF0907 MSGF(QCPFMSG) will get you there.

3. Open the Job Log and Read Upward

The message in QSYSOPR is usually the end of the story. The job log has the rest of it. For an active job, run DSPJOBLOG with the job number, user, and name from step 1, or take option 10 from WRKJOB. Press F10 to show detailed messages, then start at the bottom and work your way up.

You’re looking for the first thing that went wrong. If you see CPF9999, a function check, that’s the program telling you an error went unhandled. The real cause is almost always a message or two above it. IBM’s primer on message analysis puts it plainly: for initial debugging, the job log is the best tool you have.

If the job has already ended, its job log is probably waiting as a spooled file named QPJOBLOG. WRKSPLF for the job’s user will find it.

4. Check Whether It’s One Job or the Whole System

Before you act on one job, take thirty seconds to see what else is going on.

  • WRKSYSSTS shows % system ASP used. When disk is close to full, a lot of strange messages show up at once, and they’re all symptoms of the same thing.
  • WRKACTJOB shows whether other jobs are also sitting in MSGW or using a lot of CPU.
  • DSPLOG shows the history log (QHST) around the time the message arrived, which helps when something else failed first.

If three unrelated jobs are complaining at the same time, the problem probably isn’t any one of them.

5. Decide: Reply, Escalate, or Log It

Inquiry messages list their valid replies right on the screen. For CPA0701 or CPA0702, for example, you’ll usually see C (cancel), D (dump the program’s variables, then cancel), I (ignore), and R (retry). What each one does depends on the program that sent the message, and this is the step where people get burned.

There’s no reply that’s always safe. Cancel ends the program, which can leave a batch half finished. Ignore and retry can make things worse if you don’t know what the program does next. If you’ve worked through steps 1 to 4 and still aren’t sure what a reply will do, escalate.

The difference is that you’re not escalating empty-handed anymore. You have the message ID, the sending job, the first real error in the job log, and a read on the rest of the system. That’s a very different conversation from “there’s a message, can you take a look?”

Messages That Shouldn’t Wait

Some messages deserve attention no matter what time it is. Here is a short starter list:

  • CPF0907, “Serious storage condition may exist.” The system ASP has passed its storage threshold, and the message repeats every hour until usage drops. IBM doesn’t soften where this ends if nobody acts: in the worst case, auxiliary storage has to be reinitialized and user data is lost. Run WRKSYSSTS, then go after the usual suspects: old spooled files, aging QHST logs, journal receivers, and logs piling up in the IFS. 
  • Any inquiry message from a batch job. A job sitting in MSGW isn’t doing anything else until someone answers it. An overnight job waiting on a reply at 2 a.m. is a late report at 8 a.m.
  • Severity 70 and 90 messages. Device integrity and system integrity messages go only to the system operator, and they mean hardware or the system itself is in trouble. Escalate.
  • **CPF1393, “Subsystem disabled user profile on device.”** Someone hit the sign-on attempt limit. Check whether it’s a forgotten password or repeated failed attempts worth flagging to security before you re-enable the profile.

Write It Down for the Next Shift

Whatever you decide, leave a note. It doesn’t need to be formal:

  • Message ID, date, time, and the job that sent it
  • What it said, in your own words
  • What you checked and what you found
  • What you did, including the exact reply if you gave one

QHST keeps a record of who answered a message (in DSPLOG, press F1 on the reply, then F9), but it won’t tell anyone why, and it won’t keep that record forever. Your note does. Give it a few months and those notes add up to something a lot of IBM i teams don’t have: a record of how this particular system behaves, written by the people who run it.

Where Fresche OpsIQ Fits

Steps 2, 3, and 4 are where most of the time goes. None of them is hard, but they mean jumping between screens and digging through a lot of text to find the one line that matters, and that’s the part Fresche OpsIQ is designed to take off your plate.

Fresche OpsIQ is an AI operations assistant built for IBM i, which means you can ask questions about your system in plain language instead of running commands. When you sign in, your QSYSOPR messages are already loaded and grouped as Critical (severity 50 and up), Warning (30 to 49), and Info (under 30). Click Investigate on a message and Fresche OpsIQ pulls the context from your live system, then tells you the likely cause, why it matters, and where to look next. You can ask follow-up questions the way you’d ask a coworker, and you can ask about the rest of the system the same way, including performance, storage, jobs, and subsystems.

Fresche OpsIQ System Messages view showing an inquiry message under Critical with its message ID, severity 99, sending job, and an Investigate button
The same message in Fresche OpsIQ, with the message ID, severity, and sending job from step 1 already shown, and an Investigate button.

Fresche OpsIQ is read-only. It doesn’t change anything on your system, and step 5 stays with you. It signs in with your existing IBM i profile, and it works alongside the monitoring you already have, like Robot or Halcyon, rather than replacing it.

Sign up to see how much time Fresche OpsIQ gives back on your own system.

Never seen that QSYSOPR message before? Ask Fresche OpsIQ. Free for up to 5 LPARs. Get started.

Frequently Asked Questions

What is the QSYSOPR message queue?
QSYSOPR is the system operator message queue on IBM i. The operating system, subsystems, and batch jobs send messages there when something needs a person’s attention, including warnings, errors, and inquiry messages waiting for a reply. You can view it with DSPMSG QSYSOPR.

How do you see the details of a QSYSOPR message?
Put your cursor on the message and press F1 to see the full text, including the message ID, severity, cause, and recovery steps. Press F9 from there to see message details, including the job and program that sent it.

How do you find the job log for a message on IBM i?
Use F9 on the message to find the sending job’s name, user, and number. For an active job, run DSPJOBLOG with that job, or use option 10 from WRKJOB, then press F10 to show detailed messages. For an ended job, look for a spooled file named QPJOBLOG with WRKSPLF.

What does severity 99 mean on IBM i?
Severity 99 means action is required. Someone has to do something manually, most often enter a reply to an inquiry message. It tells you a person needs to act, not how serious the underlying problem is.

What does CPA0701 mean on IBM i?
CPA0701 is an inquiry message IBM i sends when a CL program hits an error it wasn’t written to handle. The job stops and waits for a reply, usually C, D, I, or R. Check the job log for the error that triggered it before choosing a reply.

What does CPF0907 mean?
CPF0907 means “Serious storage condition may exist.” The system auxiliary storage pool (ASP) has passed its storage threshold. The message repeats every hour until usage drops. Check WRKSYSSTS and free up space by clearing old spooled files, history logs, journal receivers, and unused objects.

Is there a safe default reply to an IBM i inquiry message?
No. Replies like C (cancel), D (dump, then cancel), I (ignore), and R (retry) behave differently depending on the program that sent the message. Cancel can leave a batch half finished, and ignore or retry can cause further problems. If you aren’t sure what a reply will do, escalate with the message ID, sending job, and job log details.

About the Author

Yuval Oren is the Product Manager for Fresche OpsIQ at Fresche Solutions, where he has worked on IBM i products for 11 years. He holds an M.Sc. in Industrial Engineering and Management, specializing in intelligent systems, and is PMP certified. Connect on LinkedIn.

Request a Demo

See our solutions in action.

Book a Discovery Call

Talk with our team about where you are and what comes next.