Administrative Information Services

Data Administration

VISION:Results Workshop #1 Outline

Structured Programming

I. Structured Programming

A. Naming Conventions

1. Department Prefix + up to 7 characters
2. Make names meaningful

B. Documentation

1. Comments
2. Header Block/Report Block
3. "Internal" comments

C. Indentation/Alignment/Blank Lines

D. Sample Program Structure

II. VISION:Results Commands

A. OPTION Statements

1. Required Statements

a. STRUCTURED
b. QLF

2. Recommended Statements

a. NOXREF
b. VERIFY

B. REPORT steps

1. Required Statements
2. Optional Parameters

C. FILE statements

1. Data Storage Concepts

a. Files
b. Records
c. Fields
d. Bytes
e. Reserved Words/Special Fields

2. Defining a File in Dyl

a. File definitions
b. Workareas

D. Exercise #1 Initial Program Setup

E. Program Logic

1. Program Cycles

a. Automatic Cycles
b. Program Controlled Cycles

2. Program Syntax

a. READ
b. DOWHILE
c. LIST (Basic version)

III. Workshop Exercise


Michigan State University Copyright 1998.  All rights reserved.    This page last updated on 07/06/2000.

  If you have comments or suggestions about this webpage Email us.    (Please do not change the subject line)