Mainframe Path Start learning free
Beginner7 min readLesson 1 of 3

Anatomy of a mainframe screen

A mainframe screen is a fixed grid, usually 24 lines of 80 characters, divided into fields. Some fields are for you to type in and the rest are protected. Almost every panel you meet follows the same layout: a title, a message area, a command line, the body and a list of function keys.

A grid of fields, not a page of text

A 3270 display is a grid of character positions. The application divides it into fields. A field is either *protected* (labels, titles, data you may only read) or *unprotected* (places where you can type). When you press Tab, the cursor jumps to the next unprotected field and skips everything else. That is how you can tell where you are allowed to type.

The same five regions appear on almost every panel
Title lineWhich panel you are on. The panel ID can also be shown here
Short message areaTop right. A few words when something needs your attention
Command or option lineCommand ===> or Option ===>, where you type instructions
BodyLists, input fields and data. Many lists also have a line command column
Key line and status lineThe PF keys for this panel, then the terminal's own status line
A typical panel, region by region
  Data Set List Utility                        INVALID DSNAME
Option ===> _

   Dsname Level . . . VSAHA1.WORK.*
   Volume serial  . .

   (body: fields to fill in, or a list to act on)

 F1=Help  F2=Split  F3=Exit  F7=Backward  F8=Forward  F9=Swap  F12=Cancel
 4A  MA  a                                            03/015

Field attributes you will notice

Line commands and the command line

Lists such as a dataset list, a member list or a job list have a narrow input column on the left of each row. A letter typed there is a line command, and it acts on that row only. Text on the Command ===> line is a primary command and acts on the whole panel. Mixing the two up is the most common beginner slip. Typing D on the command line does something completely different from typing D beside a dataset.

TRY IT YOURSELF

On a dataset list, where would you type a command that should act on just one dataset: the command line, or the column beside that dataset?

Show a hint

Lists have a narrow column on the left of each row.

Show the solution

In the line command column beside that dataset. The command line acts on the whole panel.

Examples are for learning. Run commands and jobs only on a system you are authorised to use, such as a training or test system, and never on production without approval.

Common mistakes

Typing on a protected part of the screen

The keyboard locks and nothing you type is kept. Press Reset, then use Tab to jump to a real input field.

Confusing a line command with a primary command

A letter beside a list row acts on that row. The same letter on the command line may mean something else entirely, or be rejected.

Ignoring the top-right corner

The short message tells you why your last action failed. Read it before trying again.

What you will see at work

Key terms

Check your understanding.
Take this lesson's quiz and save your progress. Free.

Take the lesson quiz
The keys that talk to the host →