Professional Documents
Culture Documents
GROUP 3
TATENDA BENJAMIN
PRINCE B. NCUBE
ARNOLD K. MHAZO
Field Checks
The validation logic applied to the field in the
input validation program does not depend on
other fields within the record or other records within
the batch.
Several field checks can be applied; missing
data/blanks, alphabetics/numerics, range, check
digit, size
Record Checks
With a record check, the validation logic applied
to a field depends on the logical field's
interrelationships with the other fields in a record
The following record checks can be applied;
Reasonableness, Valid sign-numerics, sequence
checks.
Batch Checks
They apply validation logic to fields and records
based based on their interrelationships with
controls established for the batch
Batch checks include control totals, sequence
checks, size.
File Checks
They ensure correct files are input to a production
run of an application system.
These checks are especially important for master
files where reconstruction may be difficult and
costly.
Internal label, generation number, retention date,
and contol totals are checked
Data Validation
System specifications often give a programmer
some indication of errors to be expected.
Start the design of the validation routines by
specifying what should be correct and then identify
deviations that may occur.
The input program must identify as many errors
as possible in a record or batch.
Another requirement in writing an input program
is ensuring its ability to recover when errors
occur.
The input program where possible should correct
errors automatically.
Documentation of the input program is essential.
Handling of Errors
The validation program must report errors and
exercise careful control to ensure the errors are
corrected.
Upon receiving error reports, users must identify
reasons for errors, correct the data and
resubmit the data for validation once again.
If errors are not cleared off an error file within a
reasonable time period, the input validation
program should remind the users that the errors
still await correction.
The user must decide on the number and types of
errors that can be tolerated before further
processing of the data through the system.
Reporting of Errors
Errors must be reported in a way that facilitates fast and accurate
correction of errors
INSTRUCTION INPUT
VALIDATION CHECKS
Instruction input entered via a job control
language or interactive dialog also must
be validated. The
auditor should understand the types of
validation that should be carried out by a
job control language or
interactive dialog and the way in which
errors should be reported as a basis for
evaluating the quality
of the language and the likelihood of user
errors being made.
Lexical Validation
The language evaluates each word entered by a user.
As words are formed from characters, the language
must establish rules whereby strings of
characters are recognized as discrete words.
Usually this recognition occurs via boundary characters
and delimiters.
Syntactic Validation
The language reads a string of words identified and
validated by the lexical analyzer and
attempts to determine the sequence of operations that the
string of words is intended to invoke.
The syntax analyzer validates the syntax of an
instruction by parsing the string of words entered
to determine whether it conforms to a particular rule in the
grammar of the language.
Semantic Validation
During semantic validation, the language completes its
analysis of the meaning of the
instruction entered.
The boundary between syntactic validation and
semantic validation is often obscure.
During Semantic, the language might check that
variables to be multiplied together are numeric
types and not alphabetic or alphanumeric types.
The language might prevent a comparison of two
numeric values that would be meaningless
e.g the salaries of employees with their weights.
The quality of semantic analysis depends on how how
well the constraints(logical restrictions)
surrounding the data on which the language operates can
be expressed.
The language can check that the operations to be
undertaken on the data items or the results
produced conform to the constraints expressed for the
data items in the data definition.
Reporting of Errors
Guidelines for reporting errors that
were discussed earlier for data validation
apply also to
instruction validation.
Error messages must communicate to
users completely and meaningfully as
possible to the
nature of errors made during transaction
input.
If the language fail to identify an error,
unknown to the user, results may be
produced that are
meaningless.
EXISTENCE CONTROLS
Existence controls must
enable input validation
programs and files of valid
data and erroneous
data to be reestablished in
the event of destruction or
loss.