ch 9 no 1 final - Create Merge File End Initialize...

Info iconThis preview shows pages 1–3. Sign up to view the full content.

View Full Document Right Arrow Icon
Chapter 9 Logic Exercise #1
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Data Dictionary Name Description TYPE SCOPE Salesperson Sales Person Non-numeric Local Date Date Non-Numeric Local AmtSales Amount of sales Numeric Local Counter Counts Salespersons Numeric Global Merge File Merge’s Data Non Numeric Global SalesFile Stores Data Non-numeric Local Pseudocode Do Initialize Do Processfiles Do Terminate Initialize Set Counter=1
Background image of page 2
Background image of page 3
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: Create Merge File End Initialize Processfiles While(Counter<=3) Open Sales [Counter] While ! EOF Read Record from Sales[Counter] Write Salesperson number, Date, Amt of sales to Merge File End While Close Sales[Counter] Increment Counter ENDWhile End Processfiles Terminate Close Mergefile EXIT End Terminate...
View Full Document

Page1 / 3

ch 9 no 1 final - Create Merge File End Initialize...

This preview shows document pages 1 - 3. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online