---
title: "user_main"
original_file: "user_main"
generated: "2026-06-12 10:24:26"
---
**
#
Introduction### User Guide
##
Who Should Read This Guide
This guide is written primarily for use by those persons who will be using online applications which were developed by (cont.)
and operate under control of MAGEC. Although all MAGEC applications are not the same, there is a high degree of (cont.)
standardization encouraged by MAGEC. This book will describe all the standard features of MAGEC applications from the (cont.)
perspective of the terminal operator.
It is strongly recommended that data processing personnel also read this to familiarize themselves with the overall (cont.)
philosophy of the MAGEC software and so that they will understand what the application users can and should expect from (cont.)
the systems developed with MAGEC. This book, if read by both the users and DP personnel, should help define common (cont.)
terms and references to enhance communications between the two groups.
The MAGEC "system" functions which are used by application developers, security officers, database administrators, and (cont.)
so forth, are actually also applications which were generated using MAGEC and therefore share most of the same (cont.)
attributes as are described in this guide.
Copies of this guide should be distributed to:
Application Users
Application Developers
Security Officers
Database Administrators
System Programmers
Auditors
As well as any other individuals in the organization who might come in contact with MAGEC or the application systems developed using MAGEC.
#
Overview
##
What is MAGEC?
MAGEC is a software product which helps data processing application developers to more easily create and maintain (cont.)
online and batch applications. Online applications are computer systems designed to be used via CRTs (screens) as (cont.)
opposed to paper forms and reports. Many applications may be partially online and partially off-line, or "batch". (cont.)
Modern applications increasingly favor online processes since they permit immediate access to data and are, if properly (cont.)
designed, easier for the end-user to use. This manual concerns itself with online, as opposed to batch, (cont.)
applications.
Although MAGEC's primary function is to aid in the development and maintenance of applications, it also includes a (cont.)
large number of features specifically designed to help the end-user of MAGEC-generated applications. In this guide we (cont.)
will discuss how to use the applications developed using MAGEC and how to take advantage of the "user-friendly" (cont.)
features, such as:
Menu Facility
HELP Keys
Pop-Up Windows
Window Swapping
Online Documentation
Pick Lists
Error Highlighting
Browses with Cursor Selection
Query functions
Copy & Paste facility
#
Keyboard
##
Using the Keyboard
MAGEC applications may be used from any "3270-type" terminal or from a standard IBM (or compatible) PC or PS/2. While (cont.)
there are many possible variations of screen sizes and display color options these variations have little or no effect (cont.)
on the use of the terminal for MAGEC applications. There are, however, variations in keyboards which must be (cont.)
recognized.
Most 3270 keyboards consist of the usual alphabetic and numeric keys arranged (more or less) as they are on a standard (cont.)
typewriter. A Shift key changes the meanings of the alphabetic keys from lower-case to uppercase and, often, the (cont.)
numeric keys to special characters. The "Shifted meanings" are usually printed above the "non-Shifted meanings" on the (cont.)
face of each key. So far this is still very much like a standard typewriter.
In addition to the alphabetics, numerics, and special characters the 3270 keyboard also has keys for special functions. (cont.)
One of these keys is the "ALT" key (usually on the bottom row of keys) on some keyboards. The ALT key is simply another (cont.)
kind of Shift key. It alters some of the keys on the keyboard to a third possible meaning, the "altered" meaning. The (cont.)
Altered meanings are shown on the front edge of those keys which are affected.
##
Special Function Keys
On some keyboards the special functions are separate keys while on some keyboards the special functions are altered (cont.)
meanings for the alphabetic or numeric keys. Regardless, the special functions have the same meaning to the MAGEC (cont.)
applications from any keyboard. The keyboards on microcomputers are usually different from those on mainframe (cont.)
terminals. MAGEC is oriented toward the mainframe keyboards. When you are using MAGEC at a PC or PS/2 you will notice (cont.)
that MAGEC substitutes function keys from the microcomputer keyboard for those on the mainframe 3270 terminal keyboard. (cont.)
There is a template in this section titled PC-MAGEC 3270 Emulation Template which will help you to translate from one (cont.)
to the other.
##
ENTER Key
The ENTER key (usually near lower right corner of key pattern) is used to transmit data from the screen to the (cont.)
computer. Data may be keyed onto any screen and then re-keyed (in case of error) as many times as necessary before (cont.)
transmitting it to the computer. The 3270 terminal is actually a separate machine from the computer and until data is (cont.)
transmitted to the computer it is simply being held on the screen waiting for the operator to transmit it. The ENTER (cont.)
key is not the only one which transmits the data, but it is the one which is used most often. The PC key which emulates (cont.)
the ENTER key is the large plus key (+) at the far right of the keyboard in the numeric key pad (cont.)
section.
On a PC, MAGEC will also accept the page down key (Pg Dn) as equivalent to the mainframe PF8 key and the page up key (cont.)
(Pg Up) as equivalent to the mainframe PF7 key. This is handy since in many cases MAGEC screens use PF8 and PF7 to page (cont.)
forward and page backwards, respectively.
##
PF Keys
Depending on which type of keyboard is being used there may be from 5 to 24 special functions called PF keys. These are (cont.)
marked with the designations PF1 (or PF01) through PF24. Some keyboards have only PF1 through PF12 and some have only (cont.)
PF1 through PF5 (very uncommon in recent years). These PF keys also transmit the screen data as the ENTER key does. The (cont.)
MAGEC applications can sense which key was used to transmit and can assign different meanings to different keys in (cont.)
order to allow the operator to use a single keystroke to indicate a request which might otherwise require entering a (cont.)
long "command". It is unlikely that any given application will have all the available PF keys defined. Those which are (cont.)
not defined by the application are treated as being equivalent to the ENTER key. The PC keys which emulate the PF keys (cont.)
are F1 through F10 (emulate PF1 through PF10, respectively), Shift-F1 through Shift-F10 (emulate PF11 through PF20, (cont.)
respectively), Alt-F1 through Alt-F4 (emulate PF21 through PF24, respectively).
##
PA Keys
There are usually two (sometimes three) special function keys on the keyboard called PA keys. These do not transmit the (cont.)
data from the screen, instead, they transmit a special code which simply indicates which key the operator has pressed. (cont.)
They are used for certain very special purposes in all MAGEC applications as defined by the MAGEC software itself. The (cont.)
PA keys are identified by the designations PA1 and PA2 shown on them. Since they are so special it is often (depending (cont.)
on keyboard) necessary to simultaneously press the ALT key and the PA key in order to prevent the operator from (cont.)
accidentally pressing them. On the PC keyboard the Ctrl-F1 through Ctrl-F3 emulate PA1 thru PA3, (cont.)
respectively.
##
CLEAR Key
The CLEAR key (ESC key on the PC) is used to "clear" the screen. It does not transmit the data from the screen. Like (cont.)
the PA keys it transmits only a code to indicate which key was pressed. It also "wipes out" all the data on the screen. (cont.)
Like the PA keys, it is also often necessary to simultaneously press the ALT and CLEAR keys as an added protection. (cont.)
This key also has very special purposes in MAGEC applications and is defined by the MAGEC software uniformly for all (cont.)
applications developed using MAGEC.
##
The Cursor
The cursor is a special symbol, usually having the appearance of an underscore or a rectangular "block", which is (cont.)
displayed on the screen to show the operator what screen position is being "keyed into" at the time. As data is keyed (cont.)
into the screen the cursor normally advances left to right, top to bottom. MAGEC applications use "formatted screens". (cont.)
This means that the screen is formatted into "screen fields", some of which are "protected" and some of which are (cont.)
"unprotected". Protected means that the operator may not key into that field. Unprotected means that the operator may (cont.)
key into that field. The cursor, in most cases, will advance as the operator keys into an unprotected field on the (cont.)
screen and, at the end of that field, automatically skip to the next unprotected screen field in order to expedite the (cont.)
work of the operator.
##
Cursor Manipulation Keys
You can position the cursor anywhere on the screen using special keys which are designated by arrows printed on their faces to show in which direction the cursor will move when they are pressed (
). These keys can move the cursor to any position on the screen regardless whether there is a protected field at that position or not.
The "Tab" keys are marked with left and right arrows pointing to a vertical line (
). These keys will skip Protected fields and position to the next or prior unprotected field.
Another cursor manipulation key is the HOME key. It moves the cursor to the first enterable field on the screen. In (cont.)
MAGEC that is always the six-character function code field at the top left corner of the screen.
Another cursor manipulation key is the RETURN key ( ↩ ) it moves the cursor down and left to the first (cont.)
unprotected field on a lower line. This key always has the "down-left-arrow" symbol shown on it. On a mainframe 3270 (cont.)
keyboard it is also labeled RETURN. On a PC keyboard it is sometimes labeled RETURN and sometimes ENTER, do not confuse (cont.)
that with the PC MAGEC simulation of the mainframe ENTER key (large + key). On a PC keyboard there are two plus keys, (cont.)
one is normally in the typewriter-like portion of the keyboard, in the numbers row at the top. To enter a plus (cont.)
character (+) with that key you must also hold down the Shift key. The other plus key is at the far-right, in the (cont.)
numeric pad portion of the keyboard. You do not need to depress the Shift key to enter a plus character with that key. (cont.)
That plus key at the far right is the "large plus key" which MAGEC accepts as meaning ENTER from a PC (cont.)
keyboard.
These keys do not enter any data as they move the cursor.
MAGEC applications can sense the position of the cursor at the time the operator pressed a transmit key (ENTER or any (cont.)
PF key) and can interpret it as the operator's selection of an item displayed in that position on the screen. An (cont.)
example might be a menu screen where a list of options is displayed and the operator selects the one desired by (cont.)
positioning the cursor to it and pressing ENTER. Cursor manipulation keys work essentially the same on the PC as they (cont.)
do on the mainframe.
#
Screen Standards
The most popular 3270 screen size is 1,920 characters, 24 rows by 80 columns (columns are vertical as in Roman architecture). Other sizes are available, some larger
some smaller, but for purposes of this discussion the 24 by 80 screen size will be assumed. MAGEC imposes some (cont.)
standards upon the applications as to screen format. These standards are intended to provide a uniformity in the way (cont.)
all applications work in order to simplify training of operators and also so that MAGEC can automatically provide some (cont.)
other "user friendly" features.
##
Top Row of Screen
The top row (line) of every screen for every MAGEC application will consist of the same three standard fields. This is (cont.)
where the operator enters the "commands" to be executed and where the applications place "completion messages" to the (cont.)
operator. A completion message is one which notifies the operator that the operation specified has been done (cont.)
successfully, such as "Data UPDATED on Data Base" or that the operation cannot be done and why, such as "No Data Found (cont.)
for key", etc. A wide variety of possible messages might appear in this area of the screen and operators should pay (cont.)
attention to them carefully.
Data processing personnel have adopted standard names for these three fields. While it is certainly not necessary for (cont.)
operators to speak in the jargon of data processors, it might be helpful to know the standard names when talking to DP (cont.)
persons. The standard names for the fields on Row 1 of the screen are:
SFUNCT Screen function code
SKEY Screen key
SCOMPL Screen completion message
The first two fields, SFUNCT and SKEY together might be considered the "command", they are both unprotected (may be keyed into) while the last field, SCOMPL, is protected.
Function codes are keyed into SFUNCT, they are six-character mnemonics which specify what type of operation is to be (cont.)
done to what type of data. For instance: to add a customer one might use a function code of CUSADD. To change a (cont.)
customer's data one might use CUSCHG, etc. Of course, we are assuming that these are the function codes specified by (cont.)
the application developer.
Lower-case alphabetics are not allowed in function codes. MAGEC will automatically convert any lower-case alphabetic characters that you key in SFUNCT into their uppercase equivalents.
Key-values are keyed into SKEY. The longest key-value that can be entered is 31-characters since that is the length of (cont.)
SKEY. The key value specifies which record(s) are to be operated upon. For instance: entering CUSADD 37 (SFUNCT and (cont.)
SKEY) would indicate that the operator desires to add Customer number 37 to the database.
Lower-case alphabetics are usually not allowed in key values for most applications. MAGEC will normally translate any (cont.)
lower-case alphabetic characters into their uppercase equivalents. There is a provision made for the rare instance when (cont.)
an operator must enter a key value containing lower-case alphabetics. Refer to Key Value Entry topic in this (cont.)
manual.
| ```
FFFFFF** **KKKKKKKKKKKKKKKKKKKKKKKKKKKKKKK** CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC
** SFUNCT SKEY SCOMPL
SERRMSG
EEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE
EEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE
EEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE
```**
Figure 01 -- SFUNCT, SKEY, SCOMPL, and SERRMSG
In Figure 01 the four standard screen fields are indicated by the letter they are shown filled with:
**F** S**F**UNCT (function code)
**K** S**K**EY (key)
**C** S**C**OMPL (completion message)
**E** S**E**RRMSG (error message)
**
next: user02.md.txt