NO-HILITE
             
 
UNDERLINE
             
 
BLINK
             
 
REVERSE-VIDEO
             
 
If you wanted to set Sfield to be yellow, you would code:
MOVE YELLOW TO Sfield-COLOR.
             
 
If you wanted Sfield to blink, you would code:
MOVE BLINK TO SfieldH.
             
 
Your MMP's initialization process includes the initialization of the color and extended highlighting settings back to the color you specified in MSKDEF and to NO-HILITE each time the MMP is entered.
##
Symbolic Screen Field References
When you are coding customization logic for your MMP's, you will usually be more familiar with the database field (DIT) (cont.)
datanames than with the screen field (MSK) datanames. For that reason, you may prefer to utilize MAGEC's Symbolic (cont.)
Screen Field Referencing** feature which is described in detail in the "Database Administration" chapter of the (cont.)
Programmer's Reference* manual.
Briefly, it enables you to use the database name to indirectly access screen fields. The mapping of database names to (cont.)
screen field names is controlled by the associations defined in the screen's Mask definition. The associations are (cont.)
defined using the "Source/Target" specifications for screen fields.
Assuming that you had a screen field named SAMOUNT with a source/target named CUS01-AMOUNT, you could code:
MOVE +10.00 TO @CUS01-AMOUNT@-N  @CUS01-AMOUNT@-ED
MOVE RED TO @CUS01-AMOUNT@-COLOR
rather than having to look up the screen field name (SAMOUNT) in order to access it.
MAGEC will, as the program is being generated, translate the symbolic references into the proper Cobol datanames.
**
NOTE:
**
You should read the topic *Symbolic Screen Field References* in the Database Administration chapter before coding (cont.)
symbolic references. This feature was provided primarily for the coding of Business Rules and Referential Integrity (cont.)
Rules, however, it is also available to Application Developers.
#
Defining Color Terminals
##
DVC Definition
In order to tell MAGEC that a given terminal (Device) is equipped for Extended Color & Highlighting you must define it to the MAGEC Device (DVC) file.
The DVC file is where you define a profile for your terminals for the MAGEC Security System, the MAGEC TP Spooler, and for Color 3270 support.
To specify that a terminal has Extended Color and Highlighting enter "Y" into the field titled "7-COLOR".
Defining your terminals to the DVC file is not a basic requirement to use MAGEC, it is only required if you desire one or more of the following:
Security by Terminal
TP Spooling capabilities from this terminal
7-Color support for this terminal
If you would like to see whether your terminal is defined as a 7-color device, enter the command:
DVCSEE
*
The asterisk (*) will automatically be replaced by the terminal ID of the terminal you are at. This also works for (cont.)
DVCADD or DVCCHG. This makes it easy for you to define or modify the definition of your terminal without having to key (cont.)
in the cryptic terminal ID.
The DVC file profiles are used for the Security system and the TP Spooler also. There may be security restrictions as (cont.)
to who may see or alter DVC file profiles. If you are unauthorized for these functions and you feel you should be (cont.)
authorized, see your Security Officer.
**
**
**
**
**
NOTE:
**
tttt
= Device ID (terminal ID)
The DVCADD, DVCCHG, DVCSEE, etc. functions use this screen format.
If your terminal is not defined on the DVC file, MAGEC assumes that it is not a 7-color terminal.
A value of "Y" in 7-COLOR indicates that this terminal is an Extended Color & Highlighting device; a value of "N" (or blanks) indicates that it is not.
| ```
**
 DVC... tttt
  M A G E C DEVICE DEFINITION (CRT/PRINTER)
 ID= tttt
 Location: ___  ( ) Buf Size: ______
 Type: ____  L/R: _______  7-Color(Y/N): _  --TEST--  --PROD--
 Desc: _____________________________________  87654321 87654321
 Status __________  Form: ____  User Views: ________  ________
 Active Report Time Out: ___ min.
 Print Classes: ____________________________________  SMTWTFSH
Authorized Hours: __ __ to __ __  Days: ________
 ...............MAXIMUM AUTHORIZATION LEVELS BY APPLICATION.....................
G/L (01): _  A/P (02): _
Press PF4 for browse (LOC) screen  Press PF13 for Hardcopy
Press PF16 to Copy field to buffer  Press PF17 to Paste data from buffer
Press PF2 for field-level HELP
```**
Figure 02 --  Device Profile Screen