This file is the Database Name file. It is unused. It exists for use by a future version of MAGEC.
Logical Rec. Lgth: 1016  CI Size: 2048  Key Displacement: 36  Key Lgth: 3
##
DCL (and its alias: DC$)
This is the Data Class file. It contains the definitions for each Data Class (application file), including record length, access method, etc.
Logical Rec. Lgth: 1016  CI Size: 2048  Key Displacement: 36  Key Lgth: 3
##
DIT (and its alias: DI$)
This is the Data Item file. It contains the detailed definitions for each data item (field) of each element.
Logical Rec. Lgth: 1016  CI Size: 2048  Key Displacement: 36  Key Lgth: 12
##
DOC
This is the Documentation file. It contains the actual text for the function-level help screens plus any other documentation recorded by your staff.
Logical Rec. Lgth: 1200  CI Size: 4096  Key Displacement: 36  Key Lgth: 32
##
DVC
This is the Device file. It contains the definitions for printers and video terminals. These definitions are optional, (cont.)
they are needed only if you desire to use the TP Spooler, 7-color video, or terminal security (cont.)
features.
Logical Rec. Lgth: 200  CI Size: 2048  Key Displacement: 0  Key Lgth: 4
##
ELT (and its alias: EL$)
This is the Element file. It contains definitions for data elements, segments of records, and is part of the data definition portion of the dictionary.
Logical Rec. Lgth: 1016  CI Size: 2048  Key Displacement: 36  Key Lgth: 5
##
ERR
This is the Error file. It contains error messages and associated help text.
Logical Rec. Lgth: 392  CI Size: 2048  Key Displacement: 36  Key Lgth: 3
##
FCD
This is the Function Code file. It contains definitions and security parameters for each online function code.
Logical Rec. Lgth: 100  CI Size: 2048  Key Displacement: 36  Key Lgth: 6
##
GCO
This file only exists in a GUI environment. It is used to store the user color preferences for each user.
Logical Rec. Lgth: 1200  CI Size: 4096  Key Displacement: 0  Key Lgth: 11
##
KYF (and its alias: KY$)
This is the Key Format file. It contains the definitions for the file keys and editing and formatting rules for their component fields.
Logical Rec. Lgth: 1016  CI Size: 2048  Key Displacement: 36  Key Lgth: 5
##
LAP
This is the Logical Application file. It contains the definitions for each Logical Application (high-level menu item).
Logical Rec. Lgth: 77  CI Size: 2048  Key Displacement: 36  Key Lgth: 2
##
MAL
This is the MAGEC Activity Log file. It contains the accumulated statistics gathered by the Activity Logging, if it is turned on.
Logical Rec. Lgth: 36  CI Size: 2048  Key Displacement: 00  Key Lgth: 14
##
MMP
This is the MMP definition file. It contains the high-level definitions for each MAGEC Message Processor (online program).
Logical Rec. Lgth: 100  CI Size: 2048  Key Displacement: 0  Key Lgth: 3
##
MSK or MS3
This is the Mask Initialization file (replaced by the MS3 file in MAGEC 3.0 and later). It contains the actual initialization record plus edit parameters for each screen format mask.
MSK Logical Rec. Lgth: 3904  CI Size: 4096  Key Displacement: 0  Key Lgth: 4
MS3 Logical Rec. Lgth: 5870  CI Size: 5870  Key Displacement: 0  Key Lgth: 4
##
MSKPAN.UIB
This is the Mask Panel file. It contains the actual GUI panels for each screen format mask, plus special panels for MAGEC system functions.
GUI mode only, accessible only via MAGEC GUI screen painter, other system functions
##
PRM
This is the Insertion Parm file. It contains the definition of each customization insertion point, both for online and (cont.)
batch programs. It also contains the proforma and online help for that insertion point.
Logical Rec. Lgth: 2236  CI Size: 4096  Key Displacement: 37  Key Lgth: 7
##
REF
This is the documentation Reference file. It contains cross-reference records which associate topics from the DOC file (cont.)
to key words or key phrases. One of the prime purposes for this is to connect documentation topics to online functions (cont.)
for the high-level help key (PF1).
Logical Rec. Lgth: 100  CI Size: 2048  Key Displacement: 36  Key Lgth: 64
##
RPH
This is the Report Header file. It is used to control the routing and disposition of reports by the TP Spooler feature.
Logical Rec. Lgth: 100  CI Size: 2048  Key Displacement: 00  Key Lgth: 6
##
SCF
This is the Screen Field file. It contains the definitions and edit rules for each screen field on each mask.
Logical Rec. Lgth: 320  CI Size: 2048  Key Displacement: 00  Key Lgth: 10
##
SHD
This is the Screen Header file. It contains the high-level parameters and definitions for each screen mask, including responsible programmer.
Logical Rec. Lgth: 150  CI Size: 2048  Key Displacement: 00  Key Lgth: 4
##
SIF
This is the Security Information file. It contains the security profile for each operator authorized to use the system.
Logical Rec. Lgth: 300  CI Size: 2048  Key Displacement: 36  Key Lgth: 6
##
SPL
This is the Spool file. It contains the actual report text to be routed by the TP Spooler feature.
Logical Rec. Lgth: 1940  CI Size: 4096  Key Displacement: 00  Key Lgth: 5
##
TBL
This is the Table file. It contains lookup tables plus the table of contents which defines each table.
Logical Rec. Lgth: 100  CI Size: 2048  Key Displacement: 36  Key Lgth: 19
##
TST
This is the Test file. It is used in the tutorial projects to contain the Vacation data (VAC), and possibly in other test applications to demonstrate various features of MAGEC.
Logical Rec. Lgth: 270  CI Size: 2048  Key Displacement: 36  Key Lgth: 18
##
TWA or TW3
This is the Task Work Area file (replaced by the TW3 file in MAGEC 3.0 and later). It is used to save TWA data to (cont.)
provide pseudo-conversational processing and for copy/paste, swap windows, and online help.
TWA Logical Rec. Lgth: 04088  CI Size: 08192  Key Displacement: 00  Key Lgth: 8
TW3 Logical Rec. Lgth: 16376  CI Size: 16376  Key Displacement: 00  Key Lgth: 8
**
NOTE:
**
For system tuning to obtain the best online performance of generated MAGEC applications, it is important that the TWA (cont.)
file be optimized. This means that you may wish to alter the CI Size, move the file to a less-used disk unit, separate (cont.)
the index and data areas, or apply any other tuning techniques dictated by your usage statistics. You should certainly (cont.)
consider frequent re-organizations. Purging old, unneeded records will also help performance. There is a batch utility (cont.)
named TWAUTIL which will automatically do that; there is also an online function: TWAPUR. Another method for recovering (cont.)
space in the TWA file is to completely purge it periodically. This can be done by erasing the file (on mainframe, use (cont.)
IDCAMS DELETE / DEFINE) and re-initializing it using MAGINIT. In a Micro Focus environment it is not necessary to do (cont.)
the MAGINIT since MAGEC's I/O module will re-create the TWA file if it is not found. In a network environment you may (cont.)
find it beneficial to put the TWA file on the local drives of your workstations. To do that simply specify "C:" on the (cont.)
KYF drive-id definition for TW3K1.
#
PC Template
#
Global Parameters
##
Table #243
Table #243 is an ordinary MAGEC Lookup Table which is used to contain certain system parameters. These parameters (cont.)
control the operation of the entire MAGEC system. If you are authorized to do so, you can alter any of these (cont.)
parameters' settings and dynamically change the way MAGEC operates without having to re-cycle your online system or (cont.)
re-compile any programs.
The parameter settings are loaded from Table #243 into main memory at system startup time. This is done for performance (cont.)
efficiency. You can tell MAGEC to re-load its main memory images from Table #243 by issuing the **LOAD command online (cont.)
after you have altered some settings. This is similar to the way that a database administrator or security officer can (cont.)
alter parameters and cause them to be re-loaded dynamically. This scheme gives you the advantages of a central (cont.)
repository without the overhead disadvantages of excessive I/O activity to the repository files.
Table #243 is, of course, a part of the repository (just like any other Lookup Table) and is saved to disk whenever you (cont.)
make any updates. Therefore, your changes will remain in effect until they are removed or changed (cont.)
again.
To do maintenance to Table #243 you could use the standard TBLCHG 243/xxx command format, as for any other Table; or (cont.)
you could use the special set of functions provided specifically for maintaining Table #243. They (cont.)
are:
243ADD
**243CHG
243LOC
et cetera
 
The standard set of nine functions is provided.
To list the table's entries, you can use the command:
243LOC
 
no key value is required for the browses. The program will begin at the start of Table #243.
To update a particular entry, you could use the command:
243CHG parameter-name
 
where parameter-name is the up-to-16-character name for the desired parameter. These names are pre-set by MAGEC and (cont.)
cannot be altered by you. If you add an entry for a parameter which is not defiend to MAGEC, it will simply be ignored (cont.)
by the system. Likewise, if you were to misspell a parameter name when you added an entry for it. For the most part, (cont.)
you need not ever add any parameter entries since they are already loaded into the table when the system is installed. (cont.)
You will normally only ever have to change the settings for them.
When you use the 243CHG function, the screen will display a heading indicating that this is the MAGEC Configuration Parms screen, and it will display three data fields:
Parameter
the name of this parameter (same as in SKEY)
Setting
the value the parameter is set to
Comments
a description of this parameter
The first field, Parameter, is a protected field and cannot be altered by you.
The second field is the value this parameter is currently set to. You can change it online, if you wish. It is a (cont.)
10-character field. Most parameter settings are less than 10 characters long, therefore, you should enter your desired (cont.)
setting left-justified with spaces padding the remainder of the setting field.
The third field is a free-form comments area. It is used simply to document the meaning of this parameter, or, in some (cont.)
cases, the valid values (if there are only a few possibilities). You can alter this field, but there does not seem to (cont.)
be much reason for you to do so. Each parameter is pre-defined with a description which the MAGEC developers felt would (cont.)
be useful to you.
The parameters, and their valid settings are:
##
ALPHA-DATE
This may be set to either YES or NO. A value of YES indicates that dates which have an Edit Type of D should be (cont.)
displayed in the format DDMMMYY (as: 04JUL91), rather than the default format for Edit Type D (cont.)
(DD/MM/YY).
##
CLEAR-MMP
This indicates the 3-character MMP number of the clear screen MMP. It is set to 652 and should be left that way unless you are directed otherwise by the MAGEC support personnel.
##
CPMOD-TEST
This is the 3-character MMP number of the test MAGEC Control Program, it is set to 670 and should be left that way unless you are directed otherwise by the MAGEC support personnel.
##
CPMOD-PROD
This is the 3-character MMP number of the production MAGEC Control Program, it is set to 699 and should be left that way unless you are directed otherwise by the MAGEC support personnel.
##
DKE-LIMIT
This is a parameter which controls the size of the internal tables which hold the Data Class, Key, and Element definitions. This parameter is not currently implemented and is for future use.
##
ERROR-ATTRIBUTE
This parameter sets the type of error highlighting to be used for error fields at 7-color terminals. The only valid values are 1 (blink), 2 (reverse video), and 4 (underline). Blink is the default.
##
FCD-LIMIT
This parameter sets the maximum number of function codes for the system. It controls the size of an internal table. It (cont.)
is set to 6000, the default setting. This parameter is not yet implemented and should be left at 6000 for documentation (cont.)
purposes.
##

next: install06.md.txt