**
No dynamic storage
**
DBPK
**
Prime Key missing
**
DBTO
**
Table Load timeout
**
DBTS
**
No more table space
**
DB1S
**
Invalid command against a sequential file
**
DBRL
**
Incorrect record length (LRECL)
**
MUxx
**
MAGEC User-requested abend (via ABEND command to MAGEC I/O)
**
Note
**
The CICS abend codes are normally constructed using the standard MAGECIO return codes prefixed by "DB".
##
Error Messages
MAGEC or the MAGEC-generated MMP's might occasionally issue an error message that is displayed in either SCOMPL (top (cont.)
line of screen) or SERRMSG (bottom lines of screen) because they have detected an error associated with the database or (cont.)
files. This section will list the messages possible and suggested corrective actions where (cont.)
appropriate.
TWA area clobbered by I/O
The MMP has probably read (into TWA-DB-DATA) more data than is defined in the copybook(s) or data definition(s). The (cont.)
file data has overlayed the VARIABLE-STORAGE area that is below TWA-DB-DATA in the TWA.
io ERROR has occurred
The MMP has issued an UPDAT, or DELET command for a record which it (is supposed to have) read with intent to update (cont.)
and the specified record can not now be found. This might be a coding error in customization logic which destroys the (cont.)
TWA-DB-REQ-SAV area in the TWA or it may be a legitimate I/O error or the specified record may have been deleted from (cont.)
another region/partition/machine.
DUP RECORD Pending Delete
The MMP has tried to add a record having a key value that is a duplicate of the key value for a record which has been (cont.)
"pseudodeleted" and has not yet been purged from the file. This error should occur only on Data Classes having Audit (cont.)
Stamps specified. If it occurs on other Data Classes then it might mean that an actual duplicate record was added by (cont.)
another task while the operator was keying onto the screen and therefore this message should be interpreted as meaning (cont.)
the same thing as DUPLICATE RECORD ON FILE in that case.
Error retrieving MSKnnn -or- MSK652
The MMP issued a command to read its Mask initialization record from the MSK file and the command failed. The contents (cont.)
of the field TWA-DB-RETURN-CODE will indicate the type of error, see Abend Codes above.
MMPnnn illegally entered
The MMP was entered either from the MAGEC Control Program or from another MMP via FTHFUNCT command and it detected that (cont.)
the Function Code in SFUNCT (top line of screen) is not one of its valid Functions. It may be that the wrong MMP number (cont.)
is specified for that Function on the FCD file or that the %FUNCT customization logic is wrong for this (cont.)
MMP.
MSKnnn Altered - ReCompile MMPnnn
The MMP has detected that its Mask has been changed (that MSKCREAT has been run for it) and that the version number on (cont.)
the MSK file record for the Mask does not match the version number in the Mask copybook. Recompile (MMPCREAT) the MMP (cont.)
and be sure the TP monitor recognizes that there is a NEW COPY of the program then retry. You may check the version (cont.)
numbers by using the MSKSEE nnn Function and comparing the number shown against the version number shown in the (cont.)
copybook. You may see the copybook using the LBRSEE MSKnnn-C//002 Function.
ERR91A-Warning - Bad Data on File
The MMP was generated (MMPCREAT) with the VERIFY option and it has detected non-numeric data in numeric fields of the (cont.)
file. The bad fields will appear as asterisks (*) on the screen and may be corrected using the MMP's ...CHG Function if (cont.)
desired.
attempt to FALL THRU program
The MMP contains a coding error in the customization logic that is causing it to "fall through" the end of the program. (cont.)
Most likely cause is an incorrect PERFORM THRU or GO TO. Check the customization algorithms for such coding (cont.)
errors.
WARNING - MAL LOG FILE IS FULL
The Activity Logging feature is generated in the MAGEC nucleus (TIMACCT = YES in ALAPARMS) and the MAL file has no more (cont.)
room to add records. Execute the MALUTIL program to extract the statistics to a backup tape and then either increase (cont.)
the file size or "clear" it by deleting all the records from it. This condition will not prevent the online Functions (cont.)
from processing but will cause the Activity Log data to be incomplete.
WARNING - LOGGING ERRnn - MAL FILE
An I/O error (other than File Full) was detected in reading, adding to, or updating on the MAL file. The Error Return (cont.)
Code will be in the TWA field and will also be displayed in this message, see Abend Codes above. This condition will (cont.)
not prevent online processing but will cause the statistics to be incomplete.
DATA UPDATED BY ANOTHER TASK
The MMP is attempting to update a record(s) of a Data Class which has Audit Stamp support generated (on the DCL file (cont.)
definition). It has detected that the Audit Stamp has been altered between the time the record was read first (and the (cont.)
data displayed on the screen) and the time it was read with intent to update. This probably means that an operator at (cont.)
another terminal (or a batch program) has updated the record and that the displayed data is possibly obsolete. This MMP (cont.)
will not be allowed to update the record without re-initiating the Function in order to re-display the record in its (cont.)
current state. The easiest way to reinitiate it is to alter the Function Code from a ...CHG to a ...SEE to re-display (cont.)
the data then alter it back to ...CHG.
PROG NOT FOUND or DISABLED ===> MMPnnn
MAGEC's Control Program (MAGECCP) has tried to allocate an MMP for a Function which was entered and the MMP (name (cont.)
specified in message) was not found on the Core-Image or Load Library or the MMP is marked as being "Disabled" or it is (cont.)
too large for available memory. Try loading a "NEW COPY" of the MMP or recompiling it. It is also possible that the (cont.)
wrong MMP number is specified on the FCD file definition for that Function Code.
#
Appendix B -- Glossary of Terms
**LOAD
A special MAGEC Function Code that commands MAGEC to reload its main-memory "tables" from the Dictionary files in order (cont.)
to reflect any changes that might have been made. Used most often by database administrators and security (cont.)
officers.
-IFEXIST
A control command that is used in conjunction with Symbolic Screen Field References to render them "conditional". Often used in Business Rules.
-IFUNIQUE
A control command that is used in conjunction with -MAGECINC and renders it "conditional".
-MAGECINC
A control command that may be embedded in source code to cause the MMPCREAT or MBPCREAT process to "include" or "expand" another member at that point in the program.
Activity Log
A record of online activity by operator, terminal, and function that includes I/O, transaction, and error statistics maintained by MAGEC automatically.
Audit Stamp
A 36-byte Element used to record update statistics for a record.
Business Rule
A routine that is triggered (invoked) whenever a program updates or adds data for a specified Element. Primary purpose (cont.)
is to control integrity of data, including cross-field and cross-file validations.
Authorization Level
A one-digit (0 through 9) code designating a level of access authorization in the MAGEC security system. Operators have (cont.)
an individual authorization level in each of up to fifty Logical Applications, 0 = lowest (none), 9 = highest (cont.)
(deified).
CICS
A TP monitor that is a product of IBM.
Conditional MAGECINC
A source inclusion that will be ignored if the same copybook has been included elsewhere in the same program, see MAGECINC and IFUNIQUE.
Copybook
A stored source-code definition of data, either a file Element or a Mask. Stored on the MAGEC library for use in the generated MMP's.
Data Class
A logical view of a file. A collection of data items that are grouped into Elements that are grouped into a record that resides on a file.
Data Independence
A property of application programs that renders them insensitive to changes in the physical structure of their data; (cont.)
i.e. record lengths, access methods. This property is imparted upon MAGEC applications via the dictionary-driven I/O (cont.)
modules.
Data Item
The MAGEC (and Cobol) designation for a "field" of a record (Element). Data Items must be defined as belonging to an Element defined on the ELT file.
Datacom DB
A database management system that is a product of Applied Data Research.
DBA
Database administrator. A person who is responsible for managing the database resources for an organization. This (cont.)
person is usually a technically oriented individual who deals directly with the actual database control parameters and (cont.)
utilities as opposed to the more administrative person called the data administrator.
DBMS
Database Management System. A software or hardware product that is used to manage file data and simplify accesses.
DB/2
IBM's relational database that utilizes SQL.
DCL
Standard MAGEC designation for Data Class. The DCL file.
DD Name
The "data definition" name used to define a file to the operating system in the TP monitor's start-up JCL. The name specified in the OS "DD" statement or in the DOS "DLBL" statement.
Displacement
The starting position (in the record) at which an Element or key begins, relative to 0000.
DIT
Standard MAGEC designation for Data Items. The DIT file.
Domain
A global definition that applies to data items in, potentially, many tables (files). A central definition from which individual data items can inherit specifications.
ELT
Standard MAGEC designation for Element. The ELT file.
Foreign Key
A Data Item within one Data Class that is used as a key to access another, i.e: customer-number in an invoice Element used to access customer file.
HELP Key
A keyboard key, for online applications, that invokes a display of documentation pertinent to what the user is doing. (cont.)
MAGEC includes function-level, field-level, and error-level HELP automatically for online (cont.)
applications.
Host Variables
Data definitions that are included into a program for the purpose of reading into or writing from when using an SQL database management system.
IFUNIQUE
A control statement in MAGEC that is used in conjunction with the -MAGECINC control statement, rendering it "conditional".
KSDS
Keyed Sequenced Data Set. A type of VSAM file that is logically ordered via use of an index (key).
KYF
Standard MAGEC designation for key definition. The KYF file.
Logical Join
A technique for logically associating the records of one file or Data Class to the records of another without using "physical" pointers.
MAGECINC
A control statement in MAGEC that causes a copybook to be included (expanded) at the point in a program where the -MAGECINC statement is encountered.
MAGECIO
A module that is part of the MAGEC nucleus. Its primary function is to handle the file and database I/O requests of the (cont.)
MMP's and to handle error conditions in a standard manner. It also makes up a part of the MAGEC Security System since (cont.)
it accomplishes the Audit Stamping.
Master Key
The unique key value that identifies a specific record. The key by which MAGEC MMP's access the record for all maintenance Functions.
MBP
MAGEC Batch Program. A batch program generated by MAGEC from dictionary specifications.
MBPCREAT
The batch jobstream used to generate MBP's.
MMP
MAGEC Message Processor. An online program generated by MAGEC from dictionary specifications.
MMPCREAT
The batch jobstream used to generate MMP's.
Primary Key
See Master Key.
Pseudodelete
To simulate the deletion of a record by setting a "delete flag" on and then just updating the record. MAGECIO does this (cont.)
for Data Classes that have an Audit Stamp and for which Real Delete is set to N in the DCL file definition. MAGECIO (cont.)
also simulates a NOT-FOUND if a pseudodeleted record is read.
Referential Integrity
The property of a database of ensuring that all subordinate entities (i.e. invoices) have a valid controlling entity (cont.)
(i.e. customer) and that those relationships are not violated during ongoing database update, deletion, and addition (cont.)
processes.
Request Area
A fixed format area of memory into which the MMP's can move the commands and other parameters to communicate to MAGECIO (cont.)
(or MAGECCP) what operation is requested. TWA-DB-REQUEST, TWA-NONTP-REQUEST, and TWA-TP-REQUEST are examples of request (cont.)
areas.
SCOMPL
next: db11.md.txt