Go BackFOCUS: File Maintenance II

Synopsis
FOCUS: File Maintenance II explains how to use the FOCUS MODIFY facility to maintain FOCUS files.  In particular, the course focuses on the COMPUTE, VALIDATE, TYPE and LOG statements.  Case logic is also covered.

Audience
This course is for the data processing and business professionals who want to maintain FOCUS files.

Time
5 - 10 hours

Product Code: FOC402
After completing this course, the student should be able to:
 
Use MODIFY requests for
Performing calculations
Validating transaction values
Displaying messages
Logging transactions
Construct a complex MODIFY request using case logic
Overview
Reviews what was taught in FOCUS: File Maintenance I.  Explains conventions followed in the course.
 
Review and Course Conventions
Main points from FOCUS: File Maintenance I.  Conventions used in the course.
Course Databases.
Description of the databases used in the course.


Computations
Shows how a MODIFY request can perform calculations and validations using the COMPUTE statement and the VALIDATE statement.
 
The COMPUTE Statement
How to use a COMPUTE statement in a MODIFY request to perform computations.
The VALIDATE Statement
How to use a VALIDATE statement in a MODIFY request to validate transaction values.


Messages
Discusses how to write MODIFY requests that use the TYPE and LOG statements.
 
The TYPE Statement
How to use a TYPE statement in a MODIFY request to display messages.
The LOG Statement
How to use a LOG statement in a MODIFY request to log transactions.


Case Logic
Explains how to set up a MODIFY request using case logic.  Examines the three statements that control branching from one case to another.  Designs an application using case logic.
 
The Case Statement
Definition of case logic.  How to set up a MODIFY request using case logic.
GOTO, PERFORM and IF
How to use GOTO, PERFORM and IF statements in a MODIFY request to control branching in case logic.
An Application
How to use case logic in a MODIFY request to build a menu for users.

Go Back