Ch 5. Designing COBOL Programs


  1. What?: Specify and Analyze Requirements



  2. How to develop?

    1. Design using Top-down approach (stepwise refinement)
      Tool: Hierarchy chart - shows relationships among modules.

      Use meaningful module names!

    2. Detailed Design for each module.
      Tool: Flow-chart - for analyzing logic.





    3. Coding
      Main module first, followed by minor ones.
      Use meaningful names!

    4. Compile

    5. Debugging and Testing
      Use tools!
      Test using data for normal cases
      Test using data for abnormal cases