# AI Explanations for Mainframe Errors

Source: https://wndsoftware.com/explain-this-screen

### Explain this screen

Press Ctrl+E and WND Terminal explains the error, abend or message in front of you in plain English, with what to check next.

Included in every plan. [See pricing](https://wndsoftware.com/pricing)

Abends and CICS codes
DB2 SQL codes
IBM i messages
Ctrl+E (⌘E on a Mac)
Model on the PC or in your network
WND Terminal
—
☐
✕

PROD TSO

TEST TSO
SDSF OUTPUT DISPLAY PAYRPT01 JOB04217
LINE 1
09.41.07 JOB04217  $HASP373 PAYRPT01 STARTED - CLASS A
 09.41.09 JOB04217  IEA995I SYMPTOM DUMP OUTPUT
SYSTEM COMPLETION CODE=0C7 REASON CODE=00000007
09.41.09 JOB04217
IEF450I PAYRPT01 STEP020 - ABEND=S0C7
09.41.10 JOB04217  $HASP395 PAYRPT01 ENDED -
ABEND=S0C7
COMMAND INPUT ===>
_
Explain this screen
Ctrl+E
Job PAYRPT01  failed in step STEP020  with an S0C7 data exception . A program tried to do arithmetic on a field that doesn’t hold valid numeric data.

Usual causes: a blank or corrupt input record, or a record layout that doesn’t match the file. Check the record STEP020 was reading when it failed.

Your model · on your PC or network · sensitive fields masked
Explain this screen is an AI feature in WND Terminal that explains what is on a mainframe or IBM i screen in plain English. One key opens a panel beside the screen. Codes such as S0C7, ASRA, IKJ56421I and MCH1202 are looked up first in a reference built into the app, so the facts are right even with a small model. Then a model on the PC or inside the customer’s network explains what happened and what to check next. Sensitive values are masked before anything is sent.

The problem

A new developer hits an S0C7 and waits an hour for someone who knows what it means.

Our service desk answers the same few abends every morning.


### How it works


#### Press Ctrl+E

On any screen, press Ctrl+E (⌘E on a Mac), right-click and choose Explain, or pick it from Ctrl+K. A panel opens beside the screen.


#### Reference first

Abends, CICS abends, TSO and data set messages, DB2 SQL codes and IBM i messages are looked up in a reference built into the app. Nothing leaves the computer for this part.


#### Then the model

The screen goes, masked, to the model IT chose, with the reference notes. The answer streams in with what happened, the likely cause and what to check next.


#### Pass it on

If it still needs the help desk, [Send to help desk](https://wndsoftware.com/send-to-help-desk) turns the screen and the explanation into a masked ticket.


### What it explains


#### System and user abends

S0C7, S806, SB37, U4038 and the rest, with the step and program from the job log on screen.


#### CICS abends

ASRA, AICA and other transaction abends.


#### TSO and data set messages

IKJ56421I, CSV003I, IEC141I and other common messages.


#### DB2 SQL codes

Negative and positive SQLCODEs from DB2, such as -805 and -911.


#### IBM i

CPF, CPD, MCH, RPG (RNQ) and SQL messages, and the keyboard’s operator error codes, explained as IBM i.


#### The rest of the screen

When there’s no code to look up, the model explains what the screen shows and what to do next.

Want to read up on a code yourself? The [mainframe error code library](https://wndsoftware.com/mainframe-errors/) explains each one in plain English.


### Under IT’s control

Every capability in WND Terminal follows the same rules: IT decides, the audit log records it, and nothing is sent to WND Software.

[AI controls on the security page →](https://wndsoftware.com/security#ai)
- Masked first.  Card numbers, Social Security numbers, e-mail addresses and long account numbers become tokens such as [CARD 1] before the screen is sent. The panel shows you exactly what was sent. Password fields are never sent.
- Your model.  Ollama on the PC by default, or any OpenAI-compatible server inside your network. IT can set it for everyone with `AIEndpoint` and `AIModel`.
- An off switch.  `AllowAI` = false turns the AI off. The built-in reference still explains the codes.
- On the record.  The audit log records each screen sent to the model, where it went and how many values were masked.


### Fewer tickets, faster new hires

40%
fewer mainframe service-desk tickets at Nationwide, with Explain this screen
Nationwide runs the model in its own network, with sensitive data masked first. New developers became independent in 7 weeks instead of 16.

[Read the Nationwide story →](https://wndsoftware.com/case-study-nationwide)

#### Need more than one screen?

[Ask WND](https://wndsoftware.com/ask-wnd) works the session for you. Ask why last night’s job failed, and it opens SDSF, finds the run, reads the job log and explains the abend, showing every step.


### Explain the screen using your application's documentation.

Give the AI your operating procedures as well as the screen in front of you.


#### Connect your documentation

Add application manuals, select an OpenAI document collection, or connect a company search service. Use OpenAI, Claude or a model on your own network for the answer.


#### Require a check with every question

IT can require WND Terminal to consult the selected documentation before answering. If the source is unavailable or has no relevant guidance, WND Terminal explains what is missing.


#### Read the source

Open the document passage used in the answer, with its title, version and section or page. Screen evidence stays alongside the company guidance.

[Connect your model and documentation →](https://wndsoftware.com/docs/ai-documentation)


### Explain this screen: questions


#### Does Explain this screen send data outside our network?

Only if IT configures an external model or documentation service. A local model and local documents can keep processing on the computer; an internal service keeps it on your network. The selected provider receives the relevant masked screen context and documentation passages. Requests do not pass through WND Software.


#### What if IT turns the AI off?

The built-in reference still explains the codes on the screen. Only the AI explanation stops.


#### What does the model see?

The screen, masked first. Card numbers, Social Security numbers, e-mail addresses and long account numbers become tokens such as [CARD 1], and password fields are never sent. The panel shows the screen text supplied to the model and, when configured, the company documentation passages used.


#### How is it different from Ask WND?

Explain this screen explains the screen in front of you. Ask WND works the session for you across many screens to find an answer, such as why last night’s job failed.


#### Does it work on IBM i?

Yes. IBM i screens are explained as IBM i, including CPF, CPD, MCH and RNQ messages and the keyboard’s operator error codes.


### Works well with

[Ask WND AI works your session to find the answer Learn more →](https://wndsoftware.com/ask-wnd)
[Send to help desk Masked tickets to ServiceNow, Jira or e-mail Learn more →](https://wndsoftware.com/send-to-help-desk)
[Mainframe error codes Abends, CICS codes, SQLCODEs and messages explained Learn more →](https://wndsoftware.com/mainframe-errors/)
Look up an exact code in the [online error reference](https://wndsoftware.com/mainframe-errors/), including [CICS abends](https://wndsoftware.com/mainframe-errors/cics-abends), [Db2 SQLCODEs](https://wndsoftware.com/mainframe-errors/db2-sqlcodes) and [MQ reason codes](https://wndsoftware.com/mainframe-errors/mq-reason-codes).
